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?