From faba99587794bd1a7259e461001bd2c37840c482 Mon Sep 17 00:00:00 2001 From: icxes Date: Sat, 21 Feb 2026 17:26:43 +0200 Subject: [PATCH] audioplayer: limit s-s playback speed multi to 8 browsers don't play any audio if the playbackrate is too high or too low; on firefox, values below 8.0 and above 0.15 seem to work, so those should work as limits --- copyparty/web/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index d17ec33d..d61a9a62 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -10041,7 +10041,7 @@ var mpss = (function() { vthresh: afilt.sscv[0], sthresh: afilt.sscv[1], etresh: afilt.sscv[2], - sspeed: afilt.sscv[3], + sspeed: Math.min(8.0, Math.max(0.15, afilt.sscv[3])), rspeed: 0.2, loopInterval: 25, };