Home > Enterprise >  Web MIDI API - how to check if the send() method is done?
Web MIDI API - how to check if the send() method is done?

Time:11-07

Is there a way to check if the send() method has sent all the data in the queue and use some kind of event handler? Maybe check if the queue is empty or not?

CodePudding user response:

No, this is sadly not possible with the Web MIDI API.

CodePudding user response:

Not quite clear what is your use case, but you can use some testing environment to monitor all passing MIDI events. One possible option is https://github.com/jazz-soft/web-midi-test

  • Related