Skip to content

Is wavesurfer.stop() supposed to emit a 'region-out' event? #3814

Answered by katspaugh
weavermedia asked this question in Q&A
Discussion options

You must be logged in to vote

I'm seeing this behavior in your example, yes. I think the problem is that stop() goes to the beginning of the audio and thus triggers a region-out event. You could usepause() instead, the playhead will then stay where it was.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@weavermedia
Comment options

Comment options

You must be logged in to vote
1 reply
@katspaugh
Comment options

Answer selected by weavermedia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants