diff --git a/users/simon/modules/mpv.nix b/users/simon/modules/mpv.nix index 05962d2..b714a2c 100644 --- a/users/simon/modules/mpv.nix +++ b/users/simon/modules/mpv.nix @@ -216,8 +216,10 @@ in tscale-clamp = 0.0; }; - # adapted from https://github.com/mpv-player/mpv/issues/4418#issuecomment-368272929 - clear-speed.af-add = "scaletempo=stride=18:overlap=.6:search=10"; + # adapted from firefox’s SoundTouch configuration (10 ms sequence, + # 15 ms seek window, 8 ms overlap) + # https://searchfox.org/mozilla-central/rev/9ae77e4ce3378bd683ac9a86b729ea6b6bd22cb8/dom/media/AudioStream.cpp#173 + clear-speed.af-add = "scaletempo=stride=10:search=15:overlap=.53333"; }; scripts = [