
Chapter 3: Algorithm-Parameters
16
The following demo-code gives a general outline of the decoding process:
#define NOTHING -1
short compression = NOTHING;
short expansion = NOTHING;
short limiting = FALSE;
short masked;
// Parameter-value is passed in ‘value’
if (value & 0x8000)
limiting = TRUE;
masked = value & 0xff;
if (masked < 128)
{
compression = masked;
if (compression > 10) compression = 10;
}
else
{
expansion = 256 - masked;
if (expansion > 10) expansion = 10;
}
if (compression != NOTHING)
// Draw compression
if (expansion != NOTHING)
// Draw expansion
if (limiting)
// Draw limiting
3.12.3
Mutual Dependencies
•
LMXOVR must never be higher than MHXOVR.
•
MHXOVR must never be lower than LMXOVR.
•
METERS (Meter-resolution) for each band are hard-linked, meaning that they will always
contain the same value. You should only choose to display and manipulate one of the parameters
(fx. METERS - Low Band).
•
0DBREF follows the same principle as METERS.
In each of the bands, the thresholds of the compressor and expander limit each other. The following
criteria must be met for each of the bands:
•
Compressor-threshold must never be lower than Expander-threshold.
•
Expander-threshold must never be higher than Compressor-threshold.
3.13
TOOLBOX
MIX
1d00
0
100
CLS_PERCENT
INLEV
1d01
0
100
CLS_DB1
OUTLEV
1d02
0
100
CLS_DB1
Parameter-name
ID (Hex)
Min (Dec)
Max (Dec)
Class (Type)
Содержание M5000
Страница 8: ...GEN INSTR M5GENIN Rev 1 0 Page 3...
Страница 10: ...GEN INSTR M5GENIN Rev 1 0 Page 5...
Страница 154: ...APPENDIX C M5TROUBL Rev 1 5 Page 9...