Understanding The Control Commands - Polycom SoundStructure C16 Design Manual

Hide thumbs Also See for SoundStructure C16:
Table of Contents

Advertisement

Understanding the Control Commands

Most of the commands in the SoundStructure control protocol fall under the category of control commands.
All control commands have the following syntax:
<action> [<arg> [<arg> [<arg> ... ]]]<term>
where <action> specifies the system-defined command action and the <term> field is the command
terminator.
The <arg> fields comprise the <data> portion of the command. They contain zero or more arguments
specific to the given command action. The [ and ] characters are not present in the actual command, they
are used here to indicate that the <arg> parameters are optional, depending on the requirements of the
given command action.
General requirements for the syntax of the <arg> fields are given in the following subsections. Specific
requirements for the <arg> fields are given in previous sections which describe the syntax of channel
definition commands and parameter commands, respectively.
Argument Separation
Control commands sent to SoundStructure must have all <arg> parameters separated by one or more
space (0020) or tab (0009) characters. Using a single space is preferred, but SoundStructure supports
multiple space and tab characters.
Control commands generated by SoundStructure have all <arg> parameters separated by exactly one
space character.
All arguments of control commands will be one of the following types: integer arguments, floating-point
arguments, system-defined text arguments, or user-defined text arguments.
Integer Arguments
Integer arguments represent an integer value. They are represented using a string of digits (0030-0039) with
an optional leading plus symbol (002B) or minus symbol (002D). Examples of valid integer arguments are
5, -2, and +7. Integer arguments must be less than or equal to 32 bytes in length.
Floating-Point Arguments
Floating-point arguments represent a floating-point value. They are represented using a string of digits
(0030-0039), an optional decimal point symbol (002E), an optional E (0045) or e (0065) for indicating an
exponent, and optional plus symbols (002B) or minus symbols (002D) for indicating the sign of the mantissa
or exponent.
Examples of valid floating-point arguments are 0.618, -4.8, 2, +3.14, 6.022e23, 6.626E-34, and -1.759e11.
Floating-point arguments must be less than or equal to 32 bytes in length.
System-Defined Text Arguments
Text arguments that are defined by the command set consists only of digits (0030-0039), lower-case
characters (0061-007A), and the underscore character (005F). The underscore character is used when it
would make long arguments more readable. Examples of valid system-defined text arguments are
cr_mic_in and agc_rate. System-defined text arguments must be less than or equal to 32 bytes in length.
Polycom, Inc.
541

Advertisement

Table of Contents
loading

This manual is also suitable for:

Soundstructure c8Soundstructure c12Soundstructure sr12

Table of Contents