User manual

Automation Protocol Audio Commands
Miranda Technologies Ltd Page 165
void SetInputTrim(int Input, int Pair,
int Source);
{
remote_send("j0%01x5%01x%01x", Input, Pair,
Source);
}
Outputs j1
There are two outputs from the Easysound audio mixer; Program and
Preview. The preview output allows the operator to monitor various audio
mixes and levels before taking the desired effect ‘to air’. The preview output
can also be used for effects send and return applications.
The program output is the main audio output. As with the audio inputs, levels
can be adjusted. It is also possible to embed the audio to one of the four
groups of the outgoing video.
All output command strings start with the string ‘j1’.
Output Level j1 0
Output levels for channels, pairs or groups can be adjusted with one
command. The level range is –99dB to +28d, with a special case of minus
infinity dB. To enable ½ dB resolution of the level value, a range of 0 to 255
(0x00 to 0xFF) is used such that 0 gives a –infinity dB attenuation. 1 gives –
99.0db attenuation, 255 gives a +28dB gain, it follows therefore that a value
of 199 (0xC7) is equivalent to 0dB.
CMD Output Function Param_1 Param_2 Param_3
j1 %01x
0
%01x
Level
%01x
Channel / Pair / Group
%01x
Channel
%02x
Level
0 = PGM 0 1, 2 or 4 0, 1, 2 or 3 dbVal
void SetOutputLevel(int ChannelPairGroup,
int Channel, float Level);
{
remote_send("j100%01x%01x%02x",
ChannelPairGroup, Channel,
dbVal(Level));
}