summaryrefslogtreecommitdiff
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-10-03 21:43:40 +0200
committerPaul B Mahol <onemda@gmail.com>2018-10-03 21:43:40 +0200
commit9e45364a80f93f174ffa25a8e66abfbe7e05b740 (patch)
tree788f5f6a6211f4255c5a8d688c494adba170372e /doc/filters.texi
parent4c514edc5bc0920537575f801ff1cedb1360505b (diff)
avfilter/af_afir: make IR gain control more flexible
For this reason introduce two more options.
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi23
1 files changed, 21 insertions, 2 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 6d3833317e..1c51e42388 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1147,7 +1147,7 @@ afftfilt="1-clip((b/nb)*b,0,1)"
Apply an arbitrary Frequency Impulse Response filter.
This filter is designed for applying long FIR filters,
-up to 30 seconds long.
+up to 60 seconds long.
It can be used as component for digital crossover filters,
room equalization, cross talk cancellation, wavefield synthesis,
@@ -1172,7 +1172,26 @@ Set wet gain. This sets final output gain.
Set Impulse Response filter length. Default is 1, which means whole IR is processed.
@item again
-Enable applying gain measured from power of IR.
+Enable applying gain measured from power of IR. For approach to use for measuring power
+of IR see next option.
+
+@item gtype
+Set which approach to use for auto gain measurement.
+
+@table @option
+@item peak
+select peak gain, very conservative approach. This is default value.
+
+@item dc
+select DC gain, limited application.
+
+@item gn
+select gain to noise approach, this is most popular one.
+@end table
+
+@item irgain
+Set gain to be applied to IR coefficients before filtering.
+Allowed range is 0 to 1. This can be set even with @var{again} used.
@item maxir
Set max allowed Impulse Response filter duration in seconds. Default is 30 seconds.