beautypg.com

Gain, Gate, Appendices ~ appendix f: serial commands – ClearOne AP800 User Manual

Page 49: Explanation, Return values, Examples, Example

background image

45

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

Appendices

~ Appendix F: Serial Commands

GAIN

This command changes or reports back the input gain for a

channel. The command supports all inputs, outputs, and subbuses.

[DEVICE] GAIN []

Explanation

CH= 1-8 Parameter to apply to select the microphone

channel

CH= A-D Parameter to apply to select the line channel

CH= 1-2 Parameter to apply to select the subbus

channel

CH= * Parameter to apply command to all microphone

channels

W=S Parameter to set subbus

W=I Parameter to set input

W= O Parameter to set output

X=-20–20 Parameter to set the level

X=Null Parameter to return the current level

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 box the serial The

following is returned out the serial port indicating cable connects

to since the device is not specified: an updated gain value:

GAIN 2 I -3 GAIN 2 I -12

GATE

This command reports back the microphone gating status of

an AP800. 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

14: #14 GATE (When this command was issued, mics 1, 4,

and 7 were gated on.)

The following is returned out the serial port, indicating an

updated gate value: #14 GATE 49

Microphone Gating Key

Mic # 8 7 6 5 4 3 2 1

Hex value

0 0 0 0 0 0 0 0

0

0 0 0 0 0 0 0 1

1

0 0 0 0 0 0 1 0

2

0 0 0 0 0 0 1 1

3

0 0 0 0 0 10 0

4

0 0 0 0 0 1 0 1

5

through

1 1 1 1 1 1 1 1

FF