This commit is contained in:
2025-06-08 10:55:22 +02:00
parent 911049a2fe
commit 0352efbc34
+1 -1
View File
@@ -51,7 +51,7 @@ socket.on('position', (position) => {
isPlaying = true;
}
// SENSIBILITÉ : le facteur diviseur est plus grand → plus doux
let playbackSpeed = 0.5 + speed / 900;
let playbackSpeed = 0.5 + speed / 600;
playbackSpeed = Math.min(Math.max(playbackSpeed, 0.5), 1.1); // plage limitée à x1 max
audio.playbackRate = playbackSpeed;
}