summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2023-01-13 13:32:26 +0100
committerPaul B Mahol <onemda@gmail.com>2023-04-27 21:45:57 +0200
commit19148a5b9f44bed660258a5896d1d12d77d3d9ab (patch)
tree908c926350cf4680b0673d738c8ca3907b4e5134 /doc
parent595f0cbb4aeac1ead7c7f887d5a06ef6a1bb0fe2 (diff)
downloadffmpeg-19148a5b9f44bed660258a5896d1d12d77d3d9ab.tar.gz
avfilter: add FIR equalizer coefficients source filter
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi65
1 files changed, 65 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 5dde79919a..5022f96e46 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -7624,6 +7624,71 @@ Specifies the channel layout, and can be a string representing a channel layout.
The default value of @var{channel_layout} is "stereo".
@end table
+@section afireqsrc
+
+Generate a FIR equalizer coefficients.
+
+The resulting stream can be used with @ref{afir} filter for filtering the audio signal.
+
+The filter accepts the following options:
+
+@table @option
+@item preset, p
+Set equalizer preset.
+Default preset is @code{flat}.
+
+Available presets are:
+@table @samp
+@item custom
+@item flat
+@item acoustic
+@item bass
+@item beats
+@item classic
+@item clear
+@item deep bass
+@item dubstep
+@item electronic
+@item hard-style
+@item hip-hop
+@item jazz
+@item metal
+@item movie
+@item pop
+@item r&b
+@item rock
+@item vocal booster
+@end table
+
+@item gains, g
+Set custom gains for each band. Only used if the preset option is set to @code{custom}.
+Gains are separated by white spaces and each gain is set in dBFS.
+Default is @code{0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0}.
+
+@item bands, b
+Set the custom bands from where custon equalizer gains are set.
+This must be in strictly increasing order. Only used if the preset option is set to @code{custom}.
+Bands are separated by white spaces and each band represent frequency in Hz.
+Default is @code{25 40 63 100 160 250 400 630 1000 1600 2500 4000 6300 10000 16000 24000}.
+
+@item taps, t
+Set number of filter coefficents in output audio stream.
+Default value is @code{4096}.
+
+@item sample_rate, r
+Set sample rate of output audio stream, default is @code{44100}.
+
+@item nb_samples, n
+Set number of samples per each frame in output audio stream. Default is @code{1024}.
+
+@item interp, i
+Set interpolation method for FIR equalizer coefficients. Can be @code{linear} or @code{cubic}.
+
+@item phase, h
+Set phase type of FIR filter. Can be @code{linear} or @code{min}: minimum-phase.
+Default is minimum-phase filter.
+@end table
+
@section afirsrc
Generate a FIR coefficients using frequency sampling method.