7. LW3 Programmers’ Reference
MODEX-F15-OPTS, MODEX-F15-OPTM series – User's Manual
64
7.7.7.
Change the Input Port Priority
Command format
:
CALL
●
/MEDIA/AUDIO/XP:setAutoselectionPriority(<I
n
>\(<O
m
>\):<prio>)
Response format
:
mO
●
/MEDIA/AUDIO/XP:setAutoselectionPrioirty
Legend:
<prio>:
Priority number from 0 to 31, equal numbers are allowed (31
means that the port will be skipped from the priority list).
An input port priority can be set on an output port. Many settings can be executed by separating a semicolon
(no space), see the example below.
Example:
˃
CALL /MEDIA/AUDIO/XP:setAutoselectionPriority(I1\(O1\):6;I2\(O1\):6)
˂
mO /MEDIA/AUDIO/XP:setAutoselectionPriority
Explanation
:
The priority number of input 1 and Input 2 has been set to 6 on output 1. The example shows that certain
control characters have been escaped: the backslash “\” character is inserted before the “(“ and “)” characters.
See more information about escaping in
7.7.8.
Switching Audio Input
Command format
:
CALL
●
/MEDIA/AUDIO/XP:switch(<I
n
>:<O
m
>)
Response format
:
mO
●
/MEDIA/AUDIO/XP:switch
Example
:
˃
CALL /MEDIA/AUDIO/XP:switch(I5:O1)
˂
mO /MEDIA/AUDIO/XP:switch
Explanation:
I5 port is connected to O1 port.
7.7.9.
Mute Audio Input
Command format
:
CALL
●
/MEDIA/AUDIO/XP:muteSource(<I
n
>)
Response format
:
mO
●
/MEDIA/AUDIO/XP:muteSource
Example
:
˃
CALL /MEDIA/AUDIO/XP:muteSource(I1)
˂
mO /MEDIA/AUDIO/XP:muteSource
7.7.10.
Unmute Audio Input
Command format
:
CALL
●
/MEDIA/AUDIO/XP:unmuteSource(<I
n
>)
Response format
:
mO
●
/MEDIA/AUDIO/XP:unmuteSource
Example
:
˃
CALL /MEDIA/AUDIO/XP:unmuteSource(I1)
˂
mO /MEDIA/AUDIO/XP:unmuteSource
7.7.11.
Mute Audio Output
Command format
:
CALL
●
/MEDIA/AUDIO/XP:muteDestination(<O
n
>)
Response format
:
mO
●
/MEDIA/AUDIO/XP:muteDestination
Example
:
˃
CALL /MEDIA/AUDIO/XP:muteDestination(O1)
˂
mO /MEDIA/AUDIO/XP:muteDestination
7.7.12.
Unmute Audio Output
Command format
:
CALL
●
/MEDIA/AUDIO/XP:unmuteDestination(<O
n
>)
Response format
:
mO
●
/MEDIA/AUDIO/XP:unmuteDestination
Example
:
˃
CALL /MEDIA/AUDIO/XP:unmuteDestination(O1)
˂
mO /MEDIA/AUDIO/XP:unmuteDestination
7.7.13.
Analog Audio Input Level Settings
Volume
Command format
:
SET
●
/MEDIA/AUDIO/<I
n
>.Volume=<level>
Response format
:
pw
●
/MEDIA/AUDIO/<I
n
>.Volume=<level>
Parameters
:
<level>
Sets the input volume (attenuation) between -63.5 dB and 0 dB in
step of -0.5 dB. The value is rounded up if necessary to match with
the step value.
Example
:
˃
SET /MEDIA/AUDIO/I5.Volume=-15
˂
pw /MEDIA/AUDIO/I5.Volume=-15.000