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

By detecting the gain of an input signal. Reduce the gain of another input signal

SigmaDSP & SigmaStudio chenxuezong509@126.com Apr 17, 2023 00:00 1 replies Original on forum ↗
Subscribe
chenxuezong509@126.com Question
Apr 17, 2023 00:00

I want to use ADAU1452 to implement a function that inputs two audio signals (signal A and signal B) to detect the gain of signal A.

When the gain of signal A is greater than -60dB (or other values), the gain of signal B is reduced. When the gain of signal A is less than -60dB, the gain of signal B returns to normal.

Audio Signal Processors

adau1452

SigmaDSP Audio Processors

Harishgowtham Reply
Apr 17, 2023 00:00

Hello,

Please refer the attached screenshot and the project.

As you see below, when the signal A is greater than -60dB then there is a reduction in the gain of the signal B. You can scale the signal level as you want with the gain block.

As you see here, when the signal A is lower than -60dB then the signal B is sent to output without gain reduction.

signal_compare.dspproj

If you have further queries, then please do reply.

Regards,

Harish

sc1.PNG
sc1.PNG
sc2.PNG
sc2.PNG