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
We're using js-synthesizer to play MIDI sequences/files in our Electron/Capacitor project and it works and sounds great. Is there an interface or other mechanism to pause/resume the player? I use the stopPlayer and and playPlayer functions, but looking at the functions available, seems I would have to get the current player location, then use stopPlayer/seekPlayer(position)/playPlayer. I'm not sure if there's a way to get the current Player location, or some other approach to accomplish this.
Thanks for this library!!
The text was updated successfully, but these errors were encountered:
Sorry for inconvenience, but since the base library FluidSynth does not have feature for pausing player (only provides play/stop/seek), js-synthesizer does not have pausePlayer.
So, please use stopPlayer/seekPlayer/playPlayer as you mentioned.
We're using js-synthesizer to play MIDI sequences/files in our Electron/Capacitor project and it works and sounds great. Is there an interface or other mechanism to pause/resume the player? I use the stopPlayer and and playPlayer functions, but looking at the functions available, seems I would have to get the current player location, then use stopPlayer/seekPlayer(position)/playPlayer. I'm not sure if there's a way to get the current Player location, or some other approach to accomplish this.
Thanks for this library!!
The text was updated successfully, but these errors were encountered: