[Issue] Playhead out-of-sync with Waveform on long audio files #2737
Replies: 2 comments 6 replies
-
I think there's indeed a bug in how the width is calculated. |
Beta Was this translation helpful? Give feedback.
5 replies
-
@kai-shimada why is the responsive option 80? |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Community!
As I'm developing an Electron transcription app on Mac (WhisperScript), I am facing an issue when navigating the playhead via mouse click in long audio files (>15min).
I noticed that the playhead is not getting placed correctly where I position the cursor. The gap between the cursor position and the placed playhead gets bigger the more you seek into the audio file (see the video). If I set the seek point programmatically using SeekTo, the playhead gets placed correctly. I also noticed that the width of the < wave > or the container is getting calculated incorrectly as it's wider than the actual length of the audio (see the gap after it reaches the end of the audio).
Has anyone experienced the same issue?
Screen.Recording.2023-03-21.at.16.54.52.mov
I am seeing this issue on WAV 48khz 24 bit as well as on MP3 44,1khz audio files... (it worked with none of the files I tested)
WaveSurfer Version:
6.6.1
WaveSurfer Option:
I'd appreciate any help! thank you 🙏
Beta Was this translation helpful? Give feedback.
All reactions