Game dev
Saved & recent

Audio ducking

Related terms: sidechain compression, gain envelope, audio mixer

Temporarily lowering one sound or group so another remains clear. Dialogue can duck the music, or an important accessibility cue can reduce competing effects. The background usually returns smoothly when the priority sound finishes, preserving the scene’s energy without masking useful information.

Ducking describes the result, not one mandatory technique. A game can animate bus volume from dialogue events, or use a compressor whose sidechain listens to the voice bus. Attack controls how quickly reduction begins; release controls recovery. Choose enough reduction for clarity without making every short syllable produce distracting volume pumping.

Further reading
Godot documentation
dialogue 0 1 2 3 4 5 0 0.25 0.5 0.75 1 time (s) music gain attack release
Dialogue plays from 1 to 3 seconds. The music gain drops to 0.32 during speech and returns smoothly to full gain after it ends.

View in the full Game dev collection