This is an old revision of the document!
Table of Contents
AGC compressor core
This Module is the gain computation part of a compressor. Compression happens by taking the
RMS of i/p samples i.e. by passing the input samples through a low-pass filter, converting this to
dB scale and then looking up the corresponding gain value. There is a threshold set as a parameter
in the Module, below which compression occurs.
Input Pins
| Name | Format [int/dec] - [control/audio] | Function Description |
|---|---|---|
| Pin 0: Input | decimal - Audio | Input |
Output Pins
| Name | Format [int/dec] - [control/audio] | Function Description |
|---|---|---|
| Pin 0: Output | decimal - Audio | Output |
Grow Algorithm
The module does not support Add and Growth.
Configuration
| GUI Control Name | Default Value | Range | Function Description |
|---|---|---|---|
| Decay | 20ms | 20 to 100ms | Decay coefficient of the compressor |
| Attack time | 20ms | 20 to 100ms | Attack coefficient of the compressor |
| ratio | 1 | 1 to 100 | The ratio is ratio of the gain reduction below the threshold |
| Gain | 0dB | -120 to 20dB | The make-up gain of the compressor, in dB |
| Thr | 0dB | -80 to 20dB | The compression threshold, in dB, below which compression takes place |
DSP Parameter Information
| GUI Control Name | Compiler Name | Function Description |
|---|---|---|
| Decay | AGCCompressorCore_SC5xxAlg1Decay | Decay coefficient of the compressor |
| SmoothDecay | AGCCompressorCore_SC5xxAlg1SmoothDecay | Decay smooth coefficient of the compressor |
| Attack | AGCCompressorCore_SC5xxAlg1Decay | Attack coefficient of the compressor |
| SmoothAttack | AGCCompressorCore_SC5xxAlg1SmoothAttack | Attack smooth coefficient of the compressor |
| ratio | AGCCompressorCore_SC5xxAlg1ratio | The ratio is ratio of the gain reduction below the threshold |
| Gain | AGCCompressorCore_SC5xxAlg1Gain | The make-up gain of the compressor, in dB |
| Threshold | AGCCompressorCore_SC5xxAlg1Threshold | The compression threshold, in dB, below which compression takes place |
Here,
- Green - Algorithm Name
- Red - Instance Number (Changes for each instance)
- Blue - Parameter Name
Algorithm Description
This Module is the gain computation part of a compressor. Compression happens by taking the
RMS of i/p samples i.e. by passing the input samples through a low-pass filter, converting this to
dB scale and then looking up the corresponding gain value. There is a threshold set as a parameter
in the Module, below which compression occurs.
Supported ICs
- ADSP215xx
- ADSPSC5xx
