setAudioVolumeByName
Set audio volume by name (for IP source or USB input source).
Address
/audioMixer/setAudioVolumeByName [source name] [volume]
Arguments
Type | Description | |
---|---|---|
argument 1 | String | The name of IP source or USB input source |
argument 2 | Int | The dB value, ranging from -40 to 10 |
Example
Set the audio volume of the IP source named as "srt_1" to -10dB.
/audioMixer/setAudioVolumeByName srt_1 -10
Note: Floating point numbers will be rounded down.
/audioMixer/setAudioVolumeByName srt_1 1.9 = /audioMixer/setAudioVolumeByName srt_1 1