You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An "end of score" callback, useful for adapting the UI elements.
PlaybackEngine.ts
exportenumPlaybackEvent{STATE_CHANGE="state-change",ITERATION="iteration",END_OF_SCORE="end-of-score",// new event}// callbackprivateendOfScoreCallback(message: string){this.events.emit(PlaybackEvent.END_OF_SCORE,message);}// check for "end of score" and firing cbprivateiterationCallback(){if(this.state!==PlaybackState.PLAYING)return;if(this.currentIterationStep>0)this.cursor.next();++this.currentIterationStep;// Checking hereif(this.currentIterationStep>this.iterationSteps){this.endOfScoreCallback("End of score");}}
The text was updated successfully, but these errors were encountered:
An "end of score" callback, useful for adapting the UI elements.
PlaybackEngine.ts
The text was updated successfully, but these errors were encountered: