![Lightware UCX-2x1-HC30 Скачать руководство пользователя страница 117](http://html1.mh-extra.com/html/lightware/ucx-2x1-hc30/ucx-2x1-hc30_user-manual_1915482117.webp)
7. LW3 Programmers’ Reference
UCX series – User's Manual
117
Applied firmware package: v1.2.0b9 | LDC software: v2.5.10b1
INFO:
All inputs and analog output ports have a mute property in the audio XP (e.g. /V1/MEDIA/AUDIO/
XP/I1.Mute). Outputs have a separate mute function within the port node as well:
▪
/V1/MEDIA/VIDEO/XP/O1.EmbeddedAudioMute
▪
/V1/MEDIA/VIDEO/XP/O2.EmbeddedAudioMute
▪
/V1/MEDIA/AUDIO/O3.Mute
8.9.8.
Mute the Audio Port 2.
INFO:
The volume of the analog audio output is set to low.
Command and Response
ç
SET
·
/V1/MEDIA/AUDIO/O3.Mute=
<muted_state>
æ
pw·/V1/MEDIA/AUDIO/O3.Mute=
<muted_state>
Parameters
Parameter
Parameter description
Values
Value description
<audio_port>
Audio Port
I1-I4
O3
Audio input port number
Audio output port number
<muted_state>
Muted state
true
false
The port is muted.
The port is unmuted.
Example
ç
SET /V1/MEDIA/AUDIO/O3.Mute=true
æ
pw /V1/MEDIA/AUDIO/O3.Mute=true
8.9.9. Query the Audio Signal Presence
Command and Response
ç
GET
·
/V1/MEDIA/AUDIO/
<audio_port>
.SignalPresent
æ
pr
·/V1/MEDIA/AUDIO/
<audio_port>
.SignalPresent=
<signal_state>
Parameters
Parameter
Parameter description
Values
Value description
<audio_port>
USB Port
I1-I4
O3
Audio input port number
Audio output port number
<signal_state>
Signal presence
true
false
The audio signal is present.
No audio signal is present.
Example
ç
GET /V1/MEDIA/AUDIO/I1.SignalPresent
æ
pr /V1/MEDIA/AUDIO/I1.SignalPresent=false
8.9.10.
Analog Audio Output Volume (dB) Setting
Command and Response
#analogaudio #volume
ç
SET·/V1/MEDIA/AUDIO/O3.VolumedB=
<level>
æ
pw
·
/V1/MEDIA/AUDIO/O3.VolumedB=
<level>
Parameter
The
<level>
parameters sets the output volume (attenuation) between -95.62 dB and 0 dB in step of -0.375 dB.
The value is rounded up if necessary to match with the step value.
Example
ç
SET /V1/MEDIA/AUDIO/O3.VolumedB=-15
æ
pw /V1/MEDIA/AUDIO/O3.VolumedB=-15.00
8.9.11.
Analog Audio Output Volume Percent Setting
Command and Response
ç
SET·/V1/MEDIA/AUDIO/O3.VolumePercent=
<percent>
æ
pw
·
/V1/MEDIA/AUDIO/O3.VolumePercent=
<percent>
Parameters
The
<percent>
parameter sets the output volume (attenuation) between 100% and 0%, in step of 1%. The
value is rounded up if necessary to match with the step value.
Example
ç
SET /V1/MEDIA/AUDIO/O3.VolumePercent=50
æ
pw /V1/MEDIA/AUDIO/O3.VolumePercent=50.00
8.9.12.
Setting the Balance
Command and Response
#balance
ç
SET·/V1/MEDIA/AUDIO/O3.Balance=
<level>
æ
pw
·
/V1/MEDIA/AUDIO/O3.Balance=
<level>
Parameters
The
<level>
parameter sets the balance; -100 means left balance, 100 means right balance, step is 1. Center
is 0 (default).
Example
ç
SET /V1/MEDIA/AUDIO/O3.Balance=0
æ
pw /V1/MEDIA/AUDIO/O3.Balance=0