From 785a2b126152d50ca43f6ce390b3a2114a469dad Mon Sep 17 00:00:00 2001 From: Dorian Rudolph Date: Sat, 25 Jul 2020 18:02:58 +0200 Subject: audio: add scaletempo2 filter based on chromium scaletempo2 is a new audio filter for playing back audio at modified speed and is based on chromium commit 51ed77e3f37a9a9b80d6d0a8259e84a8ca635259. It sounds subjectively better than the existing implementions scaletempo and rubberband. --- DOCS/man/af.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'DOCS') diff --git a/DOCS/man/af.rst b/DOCS/man/af.rst index 5c2b066a6b..55bf3d0f85 100644 --- a/DOCS/man/af.rst +++ b/DOCS/man/af.rst @@ -161,6 +161,28 @@ Available filters are: Would play media at 1.2x normal speed, with audio at normal pitch. Changing playback speed would change pitch, leaving audio tempo at 1.2x. + +``scaletempo2[=option1:option2:...]`` + Scales audio tempo without altering pitch. + The algorithm is ported from chromium and uses the + Waveform Similarity Overlap-and-add (WSOLA) method. + It seems to achieve a higher audio quality than scaletempo and rubberband. + + By default, the ``search-interval`` and ``window-size`` parameters + have the same values as in chromium. + + ``min-speed=`` + Mute audio if the playback speed is below ````. (default: 0.25) + + ``max-speed=`` + Mute audio if the playback speed is above ```` + and `` != 0``. (default: 4.0) + + ``search-interval=`` + Length in milliseconds to search for best overlap position. (default: 30) + + ``window-size=`` + Length in milliseconds of the overlap-and-add window. (default: 20) ``rubberband`` High quality pitch correction with librubberband. This can be used in place -- cgit v1.2.3