aboutsummaryrefslogtreecommitdiffstats
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorKyle Swanson <k@ylo.ph>2015-11-08 12:39:37 +0100
committerPaul B Mahol <onemda@gmail.com>2015-11-08 18:50:26 +0100
commit6a11c7f1605d6f751fd9adb86f24f6c37bed5ddf (patch)
tree96c6c46e215309e774df0e8e92bd9cee4562d713 /doc/filters.texi
parent955cdc43a35a850afe36537c2d8739c1991ac7ec (diff)
downloadffmpeg-6a11c7f1605d6f751fd9adb86f24f6c37bed5ddf.tar.gz
avfilter: add anoisesrc
Signed-off-by: Kyle Swanson <k@ylo.ph> Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi40
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index f0b0ef36ef..471ec3ff37 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -3157,6 +3157,46 @@ ffplay -f lavfi flite=text='No more be grieved for which that thou hast done.'
For more information about libflite, check:
@url{http://www.speech.cs.cmu.edu/flite/}
+@section anoisesrc
+
+Generate a noise audio signal.
+
+The filter accepts the following options:
+
+@table @option
+@item sample_rate, r
+Specify the sample rate. Default value is 48000 Hz.
+
+@item amplitude, a
+Specify the amplitude (0.0 - 1.0) of the generated audio stream. Default value
+is 1.0.
+
+@item duration, d
+Specify the duration of the generated audio stream. Not specifying this option
+results in noise with an infinite length.
+
+@item color, colour, c
+Specify the color of noise. Available noise colors are white, pink, and brown.
+Default color is white.
+
+@item seed, s
+Specify a value used to seed the PRNG.
+
+@item nb_samples, n
+Set the number of samples per each output frame, default is 1024.
+@end table
+
+@subsection Examples
+
+@itemize
+
+@item
+Generate 60 seconds of pink noise, with a 44.1 kHz sampling rate and an amplitude of 0.5:
+@example
+anoisesrc=d=60:c=pink:r=44100:a=0.5
+@end example
+@end itemize
+
@section sine
Generate an audio signal made of a sine wave with amplitude 1/8.