Post Go back to editing

ADAU1452 Compressor – How to obtain real-time gain reduction (attenuation in dB) for MCU display

I am working with ADAU1452 and SigmaStudio built-in compressor block.
My requirement is to read the real-time gain reduction value – the amount of dB the compressor attenuates the original audio signal, so I can display this value on my MCU UI.

I have a few questions:
1. Does the standard SigmaStudio compressor module expose its internal instantaneous gain factor via readable memory address for readback?
2. If the internal gain cannot be directly retrieved, what is the official recommended method to calculate real-time gain reduction in dB?

I do not need the static configured compression ratio setting. What I need is the dynamic instantaneous attenuation value which changes along with audio signal level.

Two possible approaches I am considering:
- Route level detectors before and after the compressor, then calculate the dB difference externally on MCU.
- Adjust signal flow to export the compressor’s internal gain multiplier to a readback terminal inside SigmaStudio.

Could you advise which method is more reliable and low-latency on ADAU1452?

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.