Controlling compression curve of RMS(gain) in ADAU1442 via microcontroller
Hi,
I'm using RMS(gain) component inside SigmaStudio to design my project.
What I'm trying to accomplish with this component is:
There is some stereo input which is the main source and is normally outputted as is from the DSP. Additionally there is some other input source, the microphone, when some one is talking, I need to output that voice from the DSP. If talking stops, I want to return outputting the main source.
I need to control that compression curve, to control the threshold, how load the microphone input should be to trigger the mechanism.
This threshold needs to be configurable on run time via micro controller.
I can see in the capture window that parameter named StereoDetectInFix1 (136 bytes size) is responsible to update changes in the DSP when I change the curve shape. I want to ask for the algorithm to calculate this value, so I can affect the curve on runtime without SigmaStudio.
Thanks in advance.
Audio Signal Processors
adau1442
SigmaDSP Audio Processors
HI
There are a number of points you need to modify if you try to do what you are attempting, the way you describe it. Instead I suggest you simply change the gain of your sidechain signal. The effect should be the same.
Let us know if this works for you.
Regards
Miguel
I would like to use this component because I need configurable: Attack, Hold, Release and threshold capabilities for the microphone and I don't want to write this logic inside my micro controller.
HI Viner:
By all means, use this component, I was just trying to tell you that if you use a compressor with side chain input, you can control the place where the compressor start being applied by control the gain going into the sidechain. Attack, Release and Decay are single parameters that can be written directly into this block.
Hope this is clearer.
Miguel
This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.
Thank you,
EZ Admin
Please log in to reply.