-
Hi Cifka, Thank you again for this amazing library. Is there a Also how can I loop through a section of the noteSequence? Extra question - please when the player start, I want to get the first note in the sequence that will be played. For example, if I pause the player and I want to restart it, I want get the very first note that will be played. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thanks for your question! The player API is described here. Whatever is not there isn't directly supported, but of course some advanced features can be implemented using this API.
Unfortunately there isn't, see #21.
Looping is not supported, see #8. You could try listening for the
You can loop through BTW, don't hesitate to create multiple discussion threads if you have multiple questions. |
Beta Was this translation helpful? Give feedback.
Thanks for your question! The player API is described here. Whatever is not there isn't directly supported, but of course some advanced features can be implemented using this API.
Unfortunately there isn't, see #21.
Looping is not supported, see #8. You could try listening for the
note
event and when the time exceeds the end of your section, you reset back to the beginning (by settingplayer.currentTime
). However as I noted in #8, the looping probably won't be perfect, there will be some delay.