Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Waveform gaps with long audio at a high zoom #3761

Open
katspaugh opened this issue Jun 23, 2024 · 2 comments
Open

Waveform gaps with long audio at a high zoom #3761

katspaugh opened this issue Jun 23, 2024 · 2 comments
Labels

Comments

@katspaugh
Copy link
Owner

A known regression in 7.8.0, reported here: #3696 (comment)

The new virtualized rendering leaves gaps in some edge cases.

@katspaugh katspaugh added the bug label Jun 23, 2024
@larsrgit
Copy link

Sadly I can't share the audio, as it contains sensitive personal information.

One more thing I noticed: It also depends on where in the audio I zoom, not only the audio length. The audio I tested with is 62:01min long. When I zoom into any point before a specific point (dependend on the container size, the smaller the container, the later in the audio) it shows the waveform, after this point the waveform does not render if I zoom further than ~1500pxPerSec (independent of container size the same pxPerSec).

More information that could be relevant. I zoom into regions using the following code:

// change zoom and view to the uttterance
this.utteranceWs.zoom(this.waveSurferContainer.nativeElement.clientWidth/(this.endTimeSec - this.startTimeSec))
// set time first to zero to assure that autoscroll sets the curser to the middle of the view when setting the curser to the middle of the utterance
this.utteranceWs.setTime(0)
this.utteranceWs.setTime(this.startTimeSec + (this.endTimeSec - this.startTimeSec) / 2)
// disable autoscroll
this.utteranceWs.setOptions({autoScroll:false})
// set time to beginning of utterance
this.utteranceWs.setTime(this.startTimeSec)

@katspaugh
Copy link
Owner Author

Ah I actually haven’t tried with programmatic time/zoom setting, I always tested with manual scrolling. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants