top | item 33993169

(no title)

tekstar | 3 years ago

The WebMIDI standard has a problem, which is that only the main UI thread can talk to the WebMIDI devices directly. So even if you schedule your MIDI messages in the audio thread, to emit them on the hardware device you need to pass them to the main thread and then emit the messages from there, incurring whatever delays imposed by the main thread as it handles user input

discuss

order

jacquesm|3 years ago

You can do this fairly rapidly, as long as the tab has enough cycles at its disposal. The real problems start when you try to do a lot of display, computation and other interaction at the same time.