flangerΒΆ

Watch on youtube.com
doc

https://ffmpeg.org/ffmpeg-filters.html#flanger

This filter applies a flanging effect to the audio.

Each segment of the uploaded video was created with the following script:

#! /bin/sh
ffmpeg -hide_banner -y -filter_complex "
amovie=cdsg.wav

, flanger=
delay=0
:depth=2
:regen=0
:width=71
:shape=sinusoidal
:phase=25
:interp=linear

, aformat=sample_fmts=u8|s16:channel_layouts=stereo
, asplit=2[out1][a];
[a]channelsplit[a1][a2];
[a1]showcqt=s=1920x360,crop=1280:360:0,setsar=1[v1];
[a2]showcqt=s=1920x360,crop=1280:360:0,setsar=1,vflip[v2];
[v1][v2]vstack
, format=yuv420p
[out0]" -map '[out0]' -map '[out1]' out.mp4

(Note that I omitted shape and interp in the video.)

delay:

Set base delay in milliseconds. Range from 0 to 30. Default value is 0.

[me@host: ~]$ ffplay some.wav -af "flanger=delay=10"

depth:

Set added sweep delay in milliseconds. Range from 0 to 10. Default value is 2.

[me@host: ~]$ ffplay some.wav -af "flanger=depth=1"

regen:

Set percentage regeneration (delayed signal feedback). Range from -95 to 95. Default value is 0.

[me@host: ~]$ ffplay some.wav -af "flanger=regen=50"

width:

Set percentage of delayed signal mixed with original. Range from 0 to 100. Default value is 71.

[me@host: ~]$ ffplay some.wav -af "flanger=width=50"

speed:

Set sweeps per second (Hz). Range from 0.1 to 10. Default value is 0.5.

[me@host: ~]$ ffplay some.wav -af "flanger=speed=3"

shape:

Set swept wave shape, can be triangular or sinusoidal. Default value is sinusoidal.

[me@host: ~]$ ffplay some.wav -af "flanger=shape=triangular"

phase:

Set swept wave percentage-shift for multi channel. Range from 0 to 100. Default value is 25.

[me@host: ~]$ ffplay some.wav -af "flanger=phase=50"

interp:

Set delay-line interpolation, linear or quadratic. Default is linear.

[me@host: ~]$ ffplay some.wav -af "flanger=interp=quadratic"
see also

aphaser