0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00

DOCS/man/options.rst: add a note about the effective limit of --pitch

This commit is contained in:
nanahi 2024-08-16 23:55:05 -04:00 committed by Kacper Michajłow
parent ec125d6fc6
commit 67e087dcae

View File

@ -242,6 +242,11 @@ Playback Control
affect playback speed. Playing with an altered pitch automatically inserts
the ``scaletempo2`` audio filter.
Since pitch change is achieved by combining pitch-preserving speed change and
resampling, the range of pitch change is effectively limited by the
``min-speed`` and ``max-speed`` parameters of ``scaletempo2``: for example,
a ``min-speed`` of 0.25 limits the highest pitch factor to 4 (1/0.25).
In a standard 12-tone scale system, octaves are separated by a factor of 2
whereas semitones are represented by a factor of 2^(1/12). This means
pitches can easily be shifted up or down with a simple multiplier.