Time-frequency Automatic Gain Control (AGC)

Automatic Gain Control (AGC) attempts to maintain a constant energy level for an audio signal.

You are now following this Submission

This code implements automatic gain control for audio signals, which attempts to apply a smoothly-varying gain to an audio waveform in order to keep its energy close to some target level. This version also tries to balance the energy in individual frequency bands. It works by taking the short-time Fourier transform of the signal, smoothing that energy using time and frequency scales specified as arguments, then dividing out that scaled energy.

Cite As

Dan Ellis (2026). Time-frequency Automatic Gain Control (AGC) (https://www.mathworks.com/matlabcentral/fileexchange/28472-time-frequency-automatic-gain-control-agc), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Audio Processing Algorithm Design in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Fixed typo in title: frequenc -> frequency

1.0.0.0