User manual

Automation Protocol Audio Commands (old)
Miranda Technologies Ltd Page 81
io_mode
I/O mode defines the way that commands for inputs and outputs are
interpreted. For inputs this controls whether the input is a separate mono
input or is treated as part of a stereo pair. It also controls whether the signal is
phase inverted or replaced by silence. For outputs, only the mono/stereo bit is
significant.
0 0 1 0 0 a a x
x = 0 STEREO
x = 1 MONO
aa = 00 normal
aa = 01 inverted
aa = 10 silence
aa = 11 undefined
Setting either part of a pair to mono or stereo forces the other part to follow
suit.
gain_val
Gain is specified in 1/2 dB steps with 1 meaning -99.5dB. 0 is a special case
and means infinite attenuation. The maximum gain which may be specified is
+28dB. This value is two bytes long comprising two hex digits forming an
unsigned byte. Thus, 00 implies infinite attenuation, 01 implies -99.5dB, C7
implies 0dB (unity gain), and FF implies +28dB.
duration
The duration is used to set the number of frames over which a gain change
will take place. It is encoded as one hexadecimal value of two bytes width.
The two bytes are further encoded as ASCII characters.
For example: To specify a duration value of 12 (decimal), which is 0C in
hex:
12 (decimal) -> 0C (hex) -> 0x30 0x43
“0” “C
mix_blk
A mix_blk is used to set one input component of a mix. It consists of a
sequence of three values contained in 5 bytes. The first value is one byte