mirror of
https://github.com/mpv-player/mpv
synced 2025-02-16 12:17:12 +00:00
DOCS/man: improve explanation on how to shift notes with --pitch
Previously, this was in the rubberband filter but it gives out random numbers without explaning where they come from. Move it to the --pitch section instead and reword it a bit. Closes #14652.
This commit is contained in:
parent
88885c0401
commit
70fad1daa6
@ -226,10 +226,7 @@ Available filters are:
|
|||||||
using the standard ``speed`` property, not ``af-command``.
|
using the standard ``speed`` property, not ``af-command``.
|
||||||
|
|
||||||
``multiply-pitch <factor>``
|
``multiply-pitch <factor>``
|
||||||
Multiply the current value of ``<pitch-scale>`` dynamically. For
|
Multiply the current value of ``<pitch-scale>`` dynamically.
|
||||||
example: 0.5 to go down by an octave, 1.5 to go up by a perfect fifth.
|
|
||||||
If you want to go up or down by semi-tones, use 1.059463094352953 and
|
|
||||||
0.9438743126816935
|
|
||||||
|
|
||||||
``lavfi=graph``
|
``lavfi=graph``
|
||||||
Filter audio using FFmpeg's libavfilter.
|
Filter audio using FFmpeg's libavfilter.
|
||||||
|
@ -242,6 +242,25 @@ Playback Control
|
|||||||
affect playback speed. Playing with an altered pitch automatically inserts
|
affect playback speed. Playing with an altered pitch automatically inserts
|
||||||
the ``scaletempo2`` audio filter.
|
the ``scaletempo2`` audio filter.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
.. admonition:: Examples
|
||||||
|
|
||||||
|
``--pitch=2``
|
||||||
|
Shifts the pitch up a full octave.
|
||||||
|
``--pitch=0.5``
|
||||||
|
Shifts the pitch down an octave.
|
||||||
|
``--pitch=1.498307`` (2^(7/12))
|
||||||
|
Shifts the pitch up a perfect fifth.
|
||||||
|
``--pitch=0.667420`` (2^(-7/12))
|
||||||
|
Shifts the pitch down a perfect fifth.
|
||||||
|
``--pitch=1.059463`` (2^(1/12))
|
||||||
|
Shifts the pitch up a semitone.
|
||||||
|
``--pitch=0.943874`` (2^(-1/12))
|
||||||
|
Shifts the pitch down a semitone.
|
||||||
|
|
||||||
``--pause``
|
``--pause``
|
||||||
Start the player in paused state.
|
Start the player in paused state.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user