User manual

Automation Protocol Audio Metering Commands
Miranda Technologies Ltd Page 194
Audio Metering Packet Y0
An unsolicited packet, sent every frame or field when audio metering is
enabled (see above)
CMD Param_1
Y0 %8c: Metering values. These are all expressed in dB. Each byte
represents a meter value from a single mono input.
Param_1 is a string of 8 bytes, one for each output being metered
All values all have the top bit set. To convert a value to dB, use the following
code:
unsigned char inputchar;
int dB;
dB = inputchar – (255);
The values sent are the dB value added to 255. This allows a metering range
of -254dB (1) to 0dB (255) in 1 dB steps.
When a channel has metering turned OFF no data bytes are sent for that
channel sent, reducing the packet length. If all metering is turned off then no
metering packets are sent.