ΣSigmaStudio Ask AI Русский Log in

A issue about ext detector input standard RMS compressor

SigmaDSP & SigmaStudio cadie May 6, 2013 00:00 1 replies Original on forum ↗
Subscribe
cadie Question
May 6, 2013 00:00

Hi,

i am do a audio product with ADAU1446, now i have a issue about compressor. please see below description.

1. our requirement

a) a compressor with threshold and ratio adjustable

b) a LED will illuminate when audio signal is over threshold

2. my schematic

I use a ext detector input standard RMS compressor, and a running average envlop to implement above function.

3.question:

a) cause i do not know the compressor algorithm, so i want to ask if above schematic can do when audio siganl is over threshold, LED will illuminate and compressor start to compress are the same time??

b) Could you descript detailed compressor algorithm ? when i adjust threshold or ratio, MCU need download 34 parameters, Could i decrease some parameters??

Audio Signal Processors

adau1446

SigmaDSP Audio Processors

7839e7c7d00399dccc1f543a87609a21.png
7839e7c7d00399dccc1f543a87609a21.png
7839e7c7d00399dccc1f543a87609a21.png-541x244.png
7839e7c7d00399dccc1f543a87609a21.png-541x244.png
ADIApproved Reply
May 6, 2013 00:00

a) Unfortunately we cannot provide the source code of the compressor algorithm. However, if you use the schematic you originally posted (an envelope cell feeding an external input compressor), and you set the threshold for the LED to the same threshold of the compressor, then yes, the LED should light up at the same time the compressor activates.

b) The 33 points of the compressor table are saved in RAM as equally-spaced linear gain values. There is a more detailed description of this here: https://ez.analog.com/message/7651#7651

You only need to have the MCU update the parameters that you change.