7. LW3 Programmers’ Reference
MMX4x2 series – User's Manual
102
Applied firmware package: v1.6.0b19 | LDC software: v2.5.13b5
7.8.6.
Analog Audio Input Level Settings by Exact Values
7.8.6.1.
Setting the Volume (dB)
Command and Response
#analogaudio #volume
ç
SET·/MEDIA/AUDIO/
<audio_in>
.VolumedB=
<level>
æ
pw·/MEDIA/AUDIO/
<audio_in>
.VolumedB=
<level>
Parameters
Parameter Parameter description
Values
Value description
<audio_in>
Audio input port number
I1
-
I5
<level>
The input volume
(attenuation) in dB
Number
between -95.625
and 0 in step of -0.375.
The value is rounded up if necessary,
to match with the step value.
Example
ç
SET /MEDIA/AUDIO/I5.VolumedB=-15
æ
pw /MEDIA/AUDIO/I5.VolumedB=-15.00
7.8.6.2.
Setting the Volume (Percent)
Command and Response
ç
SET·/MEDIA/AUDIO/
<audio_in>
.VolumePercent=
<percent>
æ
pw·/MEDIA/AUDIO/
<audio_in>
.VolumePercent=
<percent>
Parameters
Parameter Parameter description
Values
Value description
<audio_in>
Audio input port number
I1
-
I5
<percent>
The input volume
(attenuation) in percent
Number
between 0 and
100 in step of 1.
The value is rounded up if necessary, to
match with the step value.
Example
ç
SET /MEDIA/AUDIO/I5.VolumePercent=50
æ
pw /MEDIA/AUDIO/I5.VolumePercent=50.00
7.8.6.3.
Setting the Balance
Command and Response
#balance
ç
SET·/MEDIA/AUDIO/
<audio_in>
.Balance=
<level>
æ
pw·/MEDIA/AUDIO/
<audio_in>
.Balance=
<level>
Parameters
Parameter Parameter description
Values
Value description
<audio_in>
Audio input port number
I1
-
I5
<level>
The input signal balance
setting
Number
between -100 and
100 in step of 1.
-100 means left balance, 100 means
right balance. Center is 0 (default).
Example
ç
SET /MEDIA/AUDIO/I5.Balance=10
æ
pw /MEDIA/AUDIO/I5.Balance=10
7.8.6.4.
Setting the Gain
Command and Response
ç
SET·/MEDIA/AUDIO/
<audio_in>
.Gain=
<level>
æ
pw·/MEDIA/AUDIO/
<audio_in>
.Gain=
<level>
Parameters
Parameter Parameter description
Values
Value description
<audio_in>
Audio input port number
I1
-
I5
<level>
The input signal gain
in dB
Number
between -12 and 6 in
step of 3.
The value is rounded down if
necessary, to match the step value.
Example
ç
SET /MEDIA/AUDIO/I5.Gain=3
æ
pw /MEDIA/AUDIO/I5.Gain=3.00