b2
This commit is contained in:
parent
c74daf7337
commit
d56266d1f3
@ -51,8 +51,8 @@ socket.on('position', (position) => {
|
||||
isPlaying = true;
|
||||
}
|
||||
// SENSIBILITÉ : le facteur diviseur est plus grand → plus doux
|
||||
let playbackSpeed = 0.5 + speed / 800;
|
||||
playbackSpeed = Math.min(Math.max(playbackSpeed, 0.5), 1.2); // plage limitée à x1 max
|
||||
let playbackSpeed = 0.5 + speed / 900;
|
||||
playbackSpeed = Math.min(Math.max(playbackSpeed, 0.5), 1.1); // plage limitée à x1 max
|
||||
audio.playbackRate = playbackSpeed;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user