MUXIN
From STX Wiki
Jump to navigationJump to search
Contents
MUXIN - input signal pre-processor
Usage:
MUXIN SEL L A B PAR SR OUT A B X Y LX LY PLX PLY
Inputs:
- SEL
- The X/Y signal selection (number)
- L
- The frame length (number)
- A,B
- The input signals A, B (vector)
- PAR
- The processing parameters (vector). See the pre/post processing table notes for details.
- SR
- The sampling rate in Hz (number)
Outputs:
- A,B
- The pre-processed input signals A, B
- X,Y
- The signals selected by SEL
- LX
- The level X (number) in dB
- LY
- The level Y (number) in dB
- PLX
- The peak level X (number) in dB
- PLY
- The peak level Y (number) in dB
Function:
Pre-processor, multiplexer and level-meter for input signals.
Notes:
Pre-processing is applied to A and B before selection.
The peak level outputs PLX and PLY are the overall maximum values of PX and PY.
To reset the peak values, use the reset value of the parameter table PAR.
X/Y Selection:
SEL | X | Y | Description |
0 | A | B | mono A |
1 | B | B | mono B |
2 | A+B | A+B | mono sum |
3 | A-B | A-B | mono difference |
4 | A | B | stereo |
5 | B | A | stereo reverse |
6 | A+B | A-B | stereo sum/difference |
Pre/Post-processing and ppm-evaluation used by MUXIn and MUXOUT
The parameters 0-11 are used to control the processing modules which compute Ay(Ax) and By(Bx), and the parameters 12-14 control the ppm computation.
Parameter Table:
Index | Module | Description |
0 | AMP | linear gain factor for signal A |
1 | AMP | linear gain factor signal B |
2 | FLT | filter mode:0 - off (no filter) - filter channel A - filter channel B - filter both channels
|
3 | FLT | relative filter cutoff frequency (kcut): - no filter0 > kcut >= -1 - lowpass (fcut - (1+kcut) * srate/2 ) - highpass (fcut = (1-kcut) * srate/2 )
|
4 | AGC | compression / expansion mode - off (no agc) - apply agc to channel A - apply agc to channel B - apply agc to both channels - apply agc to both channels with synchronous gain control
|
5 | AGC | compression start amplitude (ac) in dB (ac >= ax )
|
6 | AGC | compression gain slope (kc) (0 <= kc <= 1 )
|
7 | AGC | expansion start amplitude (ax) in dB (ax <= ac )
|
8 | AGC | expansion gain slope (kx) (0 <= kx <= 1 )
|
9 | AGC | gain control averaging time (ta) in seconds (0.01 <= ta <= 0.2 )
|
10 | AGC | gain control slope duration (tg) in seconds (0.01 <= tg <= 0.2 )
|
11 | AGC | gain step (dg) in dB (0.5 <= dg <= 3 )
|
12 | PPM | ppm output mode - rms - peak
|
13 | PPM | ppm average time (tavr) in seconds (0.1 <= tavr < 1 )
|
14 | PPM | reset peak values (pulse) - continue
|