-
Notifications
You must be signed in to change notification settings - Fork 21
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
I can't fire events #52
Comments
@Simoneth, hi, did you try to check whether other events are being fired? |
Hmm...it's strange, I can fire "audioprocess" but not "finish" and I have no idea why.
|
So, you can subscribe to "audioprocess" event and it's working, but it does not work with "finished", don't you? If that is so, then event subscription through wavesurfer instance is working, however Also, it may be, that "finished" is called after record is played up to the end. |
@Simoneth, I've tried to listen for "finish" event in demo fork. The result is that this event is called when record playing is fully completed, it is not related to region or region play, because all you do to play region is just like make wavesurfer to play record's fragment, when "finish" is related to record. It should also be taken into account, that the end of an audio can differ from the end of a region, so even if there would be a difference in a pair of milliseconds, then "finish" can be not fired...but this is just my assumption. |
Since I use only regions, from Regions plugin page, I can't find any event that could fire the end of the region play...any workaround? It's just for my toggle button "Play / Stop" |
@Simoneth, I think, that this question (how to listen to region play completed or simulate it) is more related to
|
Here my simple solution:
|
Hi,
I tried to fire events as:
It doesn't work, it doesn't fire when a song is finished.
Is it my fault?
The text was updated successfully, but these errors were encountered: