52

Appendices ~ Appendix E: Serial Commands

GAIN

GATE

This command changes or reports back the input gain for a channel. The command supports all inputs, outputs, and subbus.

[DEVICE] GAIN <CH> <W> <X> [<Y>]

Explanation

<CH>

CH= 1-4

Parameter to apply to select the microphone

 

channel

CH= A-D,T

Parameter to apply to select the line channel

CH= 1

Parameter to apply to select the subbus

 

channel

CH= *

Parameter to apply command to all

 

microphone channels

<W>

 

W=S

Parameter to set subbus

W=I

Parameter to set input

W= O

Parameter to set output

<X>

 

X= -20 – 20 Parameter to set the level

X=Null

Parameter to return the current level

<Y>

 

Y=R

Parameter to indicate relative

Y=A

Parameter to set the level absolute

Y= Null

Parameter will default to R (relative)

Return Values

The command will return the updated level of the channel in the same format as the command. The level returned is always absolute.

Examples

The following command lowers the gain 3dB on microphone input channel 2.

This command applies only to the unit to which the serial cable is connected (the device is not specified): GAIN 2 I -3

The following is returned out the serial port, indicating an updated gain value. GAIN 2 I -12

This command reports back the microphone gating status of an AP400. This command is read only.

[DEVICE] GATE

Return Values

The command will return the current status of microphone gating for a given unit with a hex value.

Example

The following command requests the gate status from device 34. (When this command was issued, mics 1and 4 were gated on.) #34 GATE

The following is returned out the serial port, indicating an updated gate value.

#34 GATE 9

Microphone gating key

Mic #

4 3 2 1

Hex value

 

0 0 0 0

0

 

0 0 0 1

1

 

0 0 1 0

2

 

0 0 1 1

3

 

0 10 0

4

 

0 1 0 1

5

 

through

 

 

1 1 1 1

F

Technical Services Group ~ 1-800-283-5936 (USA) ~ 1-801-974-3760

Page 56
Image 56
ClearOne comm AP400 operation manual Gain, Examples, Microphone gating key, Mic #