Skip to content

Firequalizer

Audio Single output Transform

Finite Impulse Response Equalizer.

FFmpeg filter: firequalizer — the official reference.

Add it to a graph. The explicit form works for every filter — bind it to its input and read the result from outputs():

$node = $audio->addFilter(new Firequalizer(…));
$result = $node->outputs()[0];

Shorthand. Single-output filters can skip the node — apply() returns the result stream directly:

$result = $audio->apply(new Firequalizer(…));

TODO — when this filter shines: what it’s the right tool for, what to reach for instead when it isn’t, and how it composes with neighbouring filters.

TODO — prose: how the filter actually works and what its key parameters mean (the explanation FFmpeg’s terse option help omits).

TODO — runnable PHP, with the equivalent ffmpeg CLI alongside.

TODO

TODO

ParameterTypeDefaultRange / valuesDescription
gainstringgain_interpolate(f)—set gain curve
gain_entrystring——set gain entry
delayfloat0.01≥ 0set delay
accuracyfloat5≥ 0set accuracy
wfuncFirequalizerWfunchannrectangular, hann, hamming, blackman, nuttall3, mnuttall3, nuttall, bnuttall, …set window function
fixedboolfalse—set fixed frame samples
multiboolfalse—set multi channels mode
zero_phaseboolfalse—set zero phase mode
scaleFirequalizerScalelinloglinlin, linlog, loglin, loglogset gain scale
dumpfilestring——set dump file
dumpscaleFirequalizerScalelinloglinlin, linlog, loglin, loglogset dump scale
fft2boolfalse—set 2-channels fft
min_phaseboolfalse—set minimum phase mode

Maps to FFmpeg’s firequalizer filter. Verified against ffmpeg n7.1.1.

An Artisan Build project.

Built on FFmpeg — an independent binding, not affiliated with or endorsed by the FFmpeg project. Support FFmpeg.