1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-01 23:00:41 +00:00
mpv/DOCS/man
Christoph Heinrich f5d4f2aea4 af_scaletempo2: better defaults
Why a bigger search-interval is required:

scaletempo2 doesn't do a good job when the signal contains frequencies
less then 1/search_interval. With a search interval of 30ms that means
anything below 33.333Hz sounds bad.

Depending on the genre it's very for music to contain frequencies down
to 30Hz, and sometimes even a little bit below that. Therefore a higher
default value is needed to handle such cases.

Based on that an argument can be made for a value of 50, as that should
work down to 20Hz, or something even higher because movies sometimes
have some infrasonic content.

However the downside of big search intervals is increased CPU usage and
intelligibility at higher speeds, as it effectively leads to parts of
the audio being skipped.

A value of 40 can handle frequencies down to 25Hz, enough for all music
except very rare edge cases, while still providing decent
intelligibility.

Why a smaller window-size is required:

Large values reduce intelligibility at high speeds and therefore small
values are preferred.

However when values get too small it starts to sound weird
(similar to librubberband).

In my testing a value of 10 already works well, but adding a small
safety margin seems like a good idea, especially since it made no
noticeable difference to intelligibility, which is why 12 was chosen.
2023-10-15 13:39:59 +00:00
..
af.rst af_scaletempo2: better defaults 2023-10-15 13:39:59 +00:00
ao.rst ao_pipewire: clarify --pipewire-buffer=native 2023-04-23 21:03:58 -07:00
changes.rst manpage: directly link interface-changes.rst in changelog section 2020-02-21 14:34:02 +01:00
console.rst console.lua: exit with with Ctrl+[ 2023-10-10 18:18:07 +00:00
encode.rst options: remove a few options marked with .deprecation_message 2023-09-21 16:06:29 +00:00
input.rst command: add playlist-next-playlist and playlist-prev-playlist 2023-10-09 15:09:35 +00:00
ipc.rst DOCS: Add missing 'not' 2023-01-28 11:59:59 -05:00
javascript.rst lua/js: remove user-data helpers 2023-01-29 01:52:31 +02:00
libmpv.rst cplugin: allow loading mpv_* symbols dynamically 2023-09-20 02:16:45 +00:00
lua.rst defaults.lua: add a disabled parameter to timer constructors 2023-10-11 21:04:13 +00:00
mpv.rst DOCS/mpv: update mpv.conf's documentation 2023-10-06 18:28:55 +00:00
options.rst vo_gpu/vo_gpu_next: add vulkan support for macOS 2023-10-14 18:39:56 +02:00
osc.rst osc: add scrolling to audio/sub buttons 2023-09-17 00:03:45 +02:00
stats.rst stats.lua: enable --tone-mapping-visualize while stats shown 2023-08-30 17:10:13 +02:00
vf.rst options: remove --vf-defaults and --af-defaults 2023-09-21 16:06:29 +00:00
vo.rst drm: remove selecting the card number with --drm-connector 2023-09-21 16:06:29 +00:00