Configure FFmpeg Vibrato Filter Frequency and Depth

This guide explains how to use the FFmpeg vibrato audio filter to apply a pitch modulation effect to your audio files. You will learn the specific syntax and parameters required to configure both the modulation frequency (speed) and depth (intensity) of the vibrato effect, along with practical command-line examples to get you started.

The Vibrato Filter Syntax

The vibrato filter in FFmpeg takes two primary parameters: modulation frequency (f) and modulation depth (d).

The basic filter syntax is:

vibrato=f=VALUE:d=VALUE

Parameter Details

1. Modulation Frequency (f)

2. Modulation Depth (d)


Practical Command Examples

To apply these parameters in FFmpeg, use the audio filter (-af) flag.

Default Vibrato

If you run the filter without specifying parameters, it uses a frequency of 5.0 Hz and a depth of 0.5:

ffmpeg -i input.wav -af "vibrato" output.wav

Slow and Deep Vibrato

For a dramatic, slow-wavering effect, lower the frequency and increase the depth:

ffmpeg -i input.wav -af "vibrato=f=3.0:d=0.8" output.wav

Fast and Subtle Vibrato

For a rapid, trembling effect that is less intense, increase the frequency and lower the depth:

ffmpeg -i input.wav -af "vibrato=f=12.0:d=0.2" output.wav