Overview
Just Add Power models with stereo output ports can distribute audio to an analog audio distribution system. The stereo output on some models includes adjustable audio delay and volume control. Delay and volume can be adjusted through push-buttons on the bottom of the devices or through programming.
AVP Encoders (and KVM Encoders with the Dolby upgrade) have two additional audio input ports - mic input and line input - for embedding additional analog audio sources onto the HDMI signal. Control of the three audio signals - HDMI, mic, line - allows each signal to be turned on and off independently.
ST1 Sound Transceivers are audio-only endpoints in a Just Add Power system that can act as either an audio input or an audio output. They can be part of 2G and Ultra systems.
Stereo Audio Delay
Some models with a stereo output port have the ability to delay the analog audio signal to match with a digital video signal.
Compatible Models
- 218AVP
- 418AVP
- UL-515POE
- UL-518AVP
- UL-715POE
- UL-718AVP
- UL-718KVM (with Dolby upgrade)
- UL-725POE
- UL-749AVP
- UL-749KVM (with Dolby upgrade)
Audio Delay Commands
Audio delay ranges from 0 ms (milliseconds) to 175 ms. Default is 0 ms.
Firmware A6.x.x
Name | Command | Variable Options | Example | Description |
---|---|---|---|---|
Read Current Delay | AUD_DLY_READ_CURRENT | (none) | AUD_DLY_READ_CURRENT | Read the current audio delay value on the device (0 to 25). |
Increase Delay | AUD_DLY_SLOW $X | 0 to 25 | AUD_DLY_SLOW 4 | Increase delay compared to current value by 7ms * value (28 in example). |
Decrease Delay | AUD_DLY_FAST $X | 0 to 25 | AUD_DLY_FAST 6 | Decrease delay compared to current value by 7ms * value (42 in example). |
Set Delay | AUD_DLY_SET_VALUE $X | 0 to 25 | AUD_DLY_SET_VALUE 12 | Set delay to 7ms * value (84 in example). |
Save Delay Value | AUD_DLY_SAVE_VAL | (none) | AUD_DLY_SAVE_VAL | Save the current delay value to persist through reboot. |
Firmware Bx.x.x | MAX v4.x.x
Name | Command | Variable Options | Example | Description |
---|---|---|---|---|
Set Delay | POST /command/audio/stereo/delay $X | 0 to 175 | POST /command/audio/stereo/delay 175 | Set delay to the value (175ms in example). |
Save Delay Value | (none) | (none) | (none) | Setting the delay automatically saves. |
Stereo Audio Volume
Models with a stereo output port can make minor adjustments to the volume level of the analog output.
Compatible Models
- 218AVP
- 418AVP
- UL-518AVP
- UL-718AVP
- UL-718KVM (with Dolby upgrade)
- UL-749AVP
- UL-749KVM (with Dolby upgrade)
Volume Commands
Volume adjustment ranges from -39dB to +6dB. Default is 0dB.
Firmware A6.x.x
Name | Command | Variable Options | Example | Description |
---|---|---|---|---|
Increase Volume | vol_bth_up.sh | (none) | vol_bth_up.sh | Increase volume compared to current value (1-31). |
Decrease Volume | vol_bth_dn.sh | (none) | vol_bth_dn.sh | Decrease volume compared to current value (1-31). |
Set Volume | vol_bth_set.sh $X | 1 (-39dB) to 31 (+6dB) | vol_bth_set.sh 31 | Set volume to 31 (+6dB). |
Mute Stereo Port | vol_mute.sh | (none) | vol_mute.sh | Mutes the stereo port. Persists until unmuted. |
Unmute Stereo Port | vol_unmute.sh | (none) | vol_unmute.sh | Unmutes the stereo port. Volume returns to previous level. |
Firmware Bx.x.x | MAX v4.x.x
Name | Command | Variable Options | Example | Description |
---|---|---|---|---|
Set Volume | POST /command/audio/stereo/volume $X | -39 to +6 | POST /command/audio/stereo/volume -10 | Set stereo volume to the specified value (-10dB in example). |
Mute Stereo Port | POST /command/audio/stereo/mute | (none) | POST /command/audio/stereo/mute | Mutes the stereo port. Persists until unmuted. |
Unmute Stereo Port | POST /command/audio/stereo/unmute | (none) | POST /command/audio/stereo/unmute | Unmutes the stereo port. Volume returns to previous level. |
Mic and Line Input
AVP and KVM Encoders with the Dolby upgrade include ports for embedding a microphone and/or line-level audio signal. These signals can be independently enabled or disabled as needed.
Compatible Models
- 418AVP
- UL-518AVP
- UL-718AVP
- UL-718KVM (with Dolby upgrade)
- UL-749AVP
- UL-749KVM (with Dolby upgrade)
Mic and Line Input Commands
These commands control audio input levels and mute/unmute functionality.
Firmware A6.x.x
Name | Command | Variable Options | Example | Description |
---|---|---|---|---|
Mute Mic Input | mic_mute.sh | (none) | mic_mute.sh | Mutes the microphone input. |
Unmute Mic Input | mic_unmute.sh | (none) | mic_unmute.sh | Unmutes the microphone input. |
Set Mic Gain | mic_set_gain.sh $X | 0 to 10 | mic_set_gain.sh 7 | Set microphone input gain to the specified level (7 in example). |
Mute Line Input | linein_mute.sh | (none) | linein_mute.sh | Mutes the line input. |
Unmute Line Input | linein_unmute.sh | (none) | linein_unmute.sh | Unmutes the line input. |
Firmware Bx.x.x | MAX v4.x.x
Name | Command | Variable Options | Example | Description |
---|---|---|---|---|
Mute Mic Input | POST /command/audio/mic/mute | (none) | POST /command/audio/mic/mute | Mutes the microphone input. |
Unmute Mic Input | POST /command/audio/mic/unmute | (none) | POST /command/audio/mic/unmute | Unmutes the microphone input. |
Set Mic Gain | POST /command/audio/mic/gain $X | 0 to 10 | POST /command/audio/mic/gain 5 | Set microphone gain to the specified level (5 in example). |
Mute Line Input | POST /command/audio/line/mute | (none) | POST /command/audio/line/mute | Mutes the line input. |
Unmute Line Input | POST /command/audio/line/unmute | (none) | POST /command/audio/line/unmute | Unmutes the line input. |
ST1 Sound Transceiver Commands
The ST1 Sound Transceiver is a unique device capable of functioning as an audio input or output within a Just Add Power system.
Volume Commands
All commands are case-sensitive. Variables are represented by $X
. A6.x.x commands will work on justOS firmwares as well.
Firmware A6.x.x
Encoder Mode | ||||
---|---|---|---|---|
Name | Command | Variable Options | Example | Description |
Set Live Volume | echo $X > /sys/devices/platform/1500_i2s/analog_in_vol | integer 0-100 | echo 100 > /sys/devices/platform/1500_i2s/analog_in_vol |
Set live volume level from 0-100. Does not persist through reboot. |
Read Live Volume | cat /sys/devices/platform/1500_i2s/analog_in_vol | (none) | cat /sys/devices/platform/1500_i2s/analog_in_vol |
Check the current volume level setting |
Set Boot-Up Volume | astparam s analog_in_val $X | integer 0-100 | astparam s analog_in_val 100 |
Set the volume level when the unit boots up |
Read Boot-Up Volume | astparam g analog_in_val | (none) | astparam g analog_in_val |
Check the volume level the unit will be set to when booting up |
Decoder Mode | ||||
---|---|---|---|---|
Name | Command | Variable Options | Example | Description |
Set Live Volume | echo $X > /sys/devices/platform/1500_i2s/analog_out_vol | integer 0-100 | echo 100 > /sys/devices/platform/1500_i2s/analog_out_vol |
Set live volume level from 0-100. Does not persist through reboot. |
Read Live Volume | cat /sys/devices/platform/1500_i2s/analog_out_vol | (none) | cat /sys/devices/platform/1500_i2s/analog_out_vol |
Check the current volume level setting |
Set Boot-Up Volume | astparam s analog_out_val $X | integer 0-100 | astparam s analog_out_val 100 |
Set the volume level when the unit boots up |
Read Boot-Up Volume | astparam g analog_out_val | (none) | astparam g analog_out_val |
Check the volume level the unit will be set to when booting up |
Firmware Bx.x.x | MAX v4.x.x
Volume adjustment ranges from -46dB to +12dB, broken up into 11 steps for the command.
Command value | dB |
---|---|
1 | -46.5 dB |
2 | -42 dB |
3 | -36 dB |
4 | -30 dB |
5 | -24 dB |
6 | -18 dB |
7 | -12 dB |
8 | -6 dB |
9 | 0 dB |
10 | +6 dB |
11 | +12 dB |
All commands are case-sensitive. Variables are represented by $X
. justOS commands will NOT work on A6.x.x firmware.
Encoder or Decoder Mode | ||||
---|---|---|---|---|
Name | Command | Variable Options | Example | Description |
Set Live Volume | POST /command/audio/stereo/volume $X | integer 0-11 | POST /command/audio/stereo/volume 11 |
Set live volume level from 0-11. Does not persist through reboot. |
Read Live Volume | GET /details/audio/stereo/volume | (none) | GET /details/audio/stereo/volume |
Check the current volume level setting |
Set Boot-Up Volume | POST /settings/audio/stereo/volume $X | integer 0-11 | POST /settings/audio/stereo/volume 11 |
Set the volume level when the unit boots up |
Read Boot-Up Volume | GET /settings/audio/stereo/volume | (none) | GET /settings/audio/stereo/volumel |
Check the volume level the unit will be set to when booting up |