setAudioState
Set audio state.
Address
/audioMixer/setAudioState [type] [state]
Arguments
Type | Description | |
---|---|---|
argument 1 | String | Audio type |
argument 2 | Int | Audio state 0: Always on (unmute) 1: Always off (mute) 2: Audio follow video (AFV) |
Audio Type
Audio Type | Description |
---|---|
0x0001 | Monitor |
0x0003 | Program |
0x0700 | HDMI 1 |
0x0800 | HDMI 2 |
0x0200 | Microphone |
0x0002 | Video Clip |
0x0300 | Bluetooth |
0x0600 | BGM |
Example
Mute the audio of Program.
/audioMixer/setAudioState 3 1
Note: Floating point numbers will be rounded down.
/audioMixer/setAudioState srt_1 1.9 = /audioMixer/setAudioState srt_1 1