-
Bug descriptionWhen I use explore waveSurfer and ToneJS, I find the duration not compatible. I am not sure which result is correct, so I dive a little bit and below are three results on the same audio file
13.323s 3 using ToneJS It looks like wavesurfer.duration is a bit away from the rest two (but I cannot dictate which is absolutely correct. may need another solid proof) Environment
Minimal code snippetThe existing example events.js, just replace the audio file would be fine. Expected result13.323 ish Obtained result13.3746 Screenshots |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You can pass your own duration (e.g. from tonejs) in the options. |
Beta Was this translation helpful? Give feedback.
-
This does not work. When I set the duration manually in the options, it still gets the duration wrong. In my case, I manually set the duration in the options as 6.84 but This seems to be a bug to me, created an issue here: #3707 |
Beta Was this translation helpful? Give feedback.
You can pass your own duration (e.g. from tonejs) in the options.