Wiki

This version (09 Jul 2019 08:15) was approved by Prasad Kamath.

Click here to return to the dynamics processors page

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

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: Input decimal - Audio Input


Output Pins

NameFormat [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 NameDefault ValueRangeFunction 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 NameCompiler NameFunction Description
DecayAGCCompressorCore_SC5xxAlg1DecayDecay coefficient of the compressor
SmoothDecayAGCCompressorCore_SC5xxAlg1SmoothDecayDecay smooth coefficient of the compressor
AttackAGCCompressorCore_SC5xxAlg1DecayAttack coefficient of the compressor
SmoothAttackAGCCompressorCore_SC5xxAlg1SmoothAttackAttack smooth coefficient of the compressor
ratioAGCCompressorCore_SC5xxAlg1ratioThe ratio is ratio of the gain reduction below the threshold
GainAGCCompressorCore_SC5xxAlg1GainThe make-up gain of the compressor, in dB
ThresholdAGCCompressorCore_SC5xxAlg1ThresholdThe 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

  1. ADSP215xx
  2. ADSPSC5xx
resources/tools-software/sigmastudio/toolbox/dynamicsprocessors/agccompressor.txt · Last modified: 25 Jun 2019 08:29 by Prasad Kamath