summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2022-03-17 10:18:08 +0100
committerPaul B Mahol <onemda@gmail.com>2022-03-17 11:02:07 +0100
commit242c07982ad523b2e0f928a204a6f2d293a956d7 (patch)
treecee543dfb7aeb11a2a2224f00216ebd1f392533b /doc
parent44fb2463a3ba4a1496648cf74038e96fad448713 (diff)
doc/filters: add some afftdn examples
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index f25c5c1640..d70ac3e237 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1396,6 +1396,30 @@ Default value is @code{none}.
This filter supports the some above mentioned options as @ref{commands}.
+@subsection Examples
+
+@itemize
+@item
+Reduce white noise by 10dB, and use previously measured noise floor of -40dB:
+@example
+afftdn=nr=10:nf=-40
+@end example
+
+@item
+Reduce white noise by 10dB, also set initial noise floor to -80dB and enable automatic
+tracking of noise floor so noise floor will gradually change during processing:
+@example
+afftdn=nr=10:nf=-80:tn=1
+@end example
+
+@item
+Reduce noise by 20dB, using noise floor of -40dB and using commands to take noise profile
+of first 0.4 seconds of input audio:
+@example
+asendcmd=0.0 afftdn sn start,asendcmd=0.4 afftdn sn stop,afftdn=nr=20:nf=-40
+@end example
+@end itemize
+
@section afftfilt
Apply arbitrary expressions to samples in frequency domain.