Audio Mixer Pins
Pin
input, <source>
Adds input channel strip for <source> to the audio mixer.
volume, <source>|<caption>, <dBFS>|<percentage>
Writes the volume fader setting for channel strip with either <source> or <caption>, which can be the name of the source or caption of any fader including master and monitor. Value is in dBFS or in percentage (must end with percentage sign).
Returns the volume fader setting for channel strip with either <source> or <caption> in dBFS.
Example
The following example sets the fader of the Microphone input to -30 dBFS.
apiwrite audio mixer 1, volume, microphone, -30 |
The following example sets the fader with Mic caption halfway.
apiwrite audio mixer 1, volume, Mic, 50% |
The following example returns the Player 1 fader position in dBFS.
apiread audio mixer 1, volume, Player 1 |