wavesurfer.play(start, end) plays with an error at end #4229
Unanswered
GTliangming
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi, Hello everyone, when I use ws. start (start, end) to specify the start and end times of the playback, the actual playback end time always exceeds the end。
I am using the V7.10.1 Chrome browser
`
wavesurfer.on('audioprocess', (currentTime) => {
console.log('now play time:', currentTime);
})
wavesurfer.on('pause', () => {
console.log('pause',wavesurfer.getCurrentTime())
})
document.querySelector('button').addEventListener('click', () => {
// wavesurfer.playPause()
wavesurfer.play(0.724109,2.00)
})
、
It can be seen that the error has increased by several tens of milliseconds, and the error varies each time, but it is basically between 0-100 milliseconds
1️⃣


2️⃣
I don't know if this is a bug or if the usage method is incorrect
Beta Was this translation helpful? Give feedback.
All reactions