Communication Protocols
59
59
12.2
Audio Gain/Attenuation Commands
You can increase or decrease the volume input/output level step-by-step or by
setting it to the desired value.
To increase or decrease the volume input/output level step-by-step, use
the following command
:
24 (18hex) I/O# OP Mach#:
I/O#
=
input/output number (0 = all)
OP
=
0 – increase output
1 – Decrease output
2 – increase left output
3 – decrease left output
4 – increase right output
5 – decrease right output
6 – increase input
7 – decrease input
8 – increase left input
9 – decrease left input
10 – increase right input
11 – decrease right input
To set the audio gain/attenuation to the desired value, use the following
sequence of commands
:
First define the channel type (input or output, left, right or left and right):
42 (2Ahex) I/Obyte 0 Mach#
I/Obyte
=
2 – input left channel
4 – input right channel
6 – input both left and right channel
3 – output left channel
5 – output right channel
7 – output both left and right channel
Then use one of the following commands (set or request):
22 (16hex) I/O# Gain/Att Mach#
Set Gain/Attenuation
I/O
=
input/output number (0 = all)
25 (19hex) I/O#
0 Mach#
Request Gain/Attenuation