summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-04-16 19:55:27 +0200
committerPaul B Mahol <onemda@gmail.com>2019-04-27 00:21:38 +0200
commitc2f305ca17e3b33a439137c86cee84fcdfaf7bb3 (patch)
tree03c45b0a95003d0c987e0a2f38214dbc9e96312b /doc
parentbf15dcc5c8d8172282da2abcc93fef61174fffdf (diff)
avfilter: add audio soft clip filter
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index cf2799b5e3..14c33ecf90 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -2104,6 +2104,33 @@ audio, the data is treated as if all the planes were concatenated.
A list of Adler-32 checksums for each data plane.
@end table
+@section asoftclip
+Apply audio soft clipping.
+
+Soft clipping is a type of distortion effect where the amplitude of a signal is saturated
+along a smooth curve, rather than the abrupt shape of hard-clipping.
+
+This filter accepts the following options:
+
+@table @option
+@item type
+Set type of soft-clipping.
+
+It accepts the following values:
+@table @option
+@item tanh
+@item atan
+@item cubic
+@item exp
+@item alg
+@item quintic
+@item sin
+@end table
+
+@item param
+Set additional parameter which controls sigmoid function.
+@end table
+
@anchor{astats}
@section astats