From 242c07982ad523b2e0f928a204a6f2d293a956d7 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 17 Mar 2022 10:18:08 +0100 Subject: doc/filters: add some afftdn examples --- doc/filters.texi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'doc') 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. -- cgit v1.2.3