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

automatic gain control input signal between low gain music and high gain music

SigmaDSP & SigmaStudio rainy75x Nov 2, 2025 00:00 1 replies Original on forum ↗
Thread Summary

Thread Summary

The user is seeking a solution to balance input signal levels from different music streaming sources to prevent clipping. The support engineer provided an ADAU1701 AGC Example with Target Level Setting, which adjusts the signal level to a target value, and suggested adjusting the time constants for optimal performance.
AI Generated Content
Subscribe
rainy75x Question
Nov 2, 2025 00:00

im trying to make some block which have automatic gain control on the input signal,its like when i playing music that from youtube which is max gain at –14 LUFS ( chatgpt ) but in another music stream app like soundcloud,there are some creator who upload music with high gain,which is make my output signal goes to clipping earlier than youtube audio,so is there any solution that i can balance the input signal?

Audio Signal Processors

software

SigmaDSP Audio Processors

4.7.0

adau1701

DaveThib Reply
Nov 3, 2025 00:00

Hello rainy75x,

Several years ago I developed this program. It was uploaded up here in an earlier post but it is easy for me to just insert it here again.

This is a program that will adjust the level up or down to achieve a target level. I put notes in the project. It is a bit complicated but did work OK and is a good starting point.

You might want to adjust some of the time constants.

Here it is:

0652.ADAU1701 AGC Example with Target Level Setting.dspproj

See how this works for you.

Thanks,

Dave T