Configure FFmpeg Flanger Delay Feedback and LFO

This guide explains how to customize the flanger audio filter in FFmpeg by configuring its key parameters: delay, feedback, and LFO (Low-Frequency Oscillator) depth. You will learn the exact syntax, parameter definitions, and practical command-line examples to achieve the perfect sweeping flanger effect for your audio files.

Understanding the Flanger Parameters

The FFmpeg flanger filter accepts several options to shape the audio sweep. The specific parameters used to control delay, feedback, and LFO depth are defined as follows:

Command Syntax

To apply these settings, use the -af (audio filter) flag in your FFmpeg command. The parameters are passed as key-value pairs separated by colons.

ffmpeg -i input.mp3 -af "flanger=delay=[value]:regen=[value]:depth=[value]" output.mp3

Practical Examples

1. Subtle, Spacey Flange To create a mild, slow-moving effect, keep the delay and feedback low, with a moderate sweep depth:

ffmpeg -i input.wav -af "flanger=delay=2:depth=1.5:regen=20:speed=0.25" output.wav

2. Intense, Jet-Plane Flange To achieve the classic dramatic “jet-plane” sweep, increase both the base delay, the feedback (regen), and the LFO sweep depth:

ffmpeg -i input.wav -af "flanger=delay=10:depth=8:regen=75:speed=0.5" output.wav

3. Vibrato/Chorusing Effect By setting a higher speed and moderate depth with low feedback, you can transition the flanger into a chorus-style effect:

ffmpeg -i input.wav -af "flanger=delay=5:depth=3:regen=10:speed=2.0" output.wav