lundi 24 septembre 2018

Web midi API and multiple simultaneous notes

I am discovering right now the web midi api with a connected usb keyboard. Following this guide (and reading the documentation) I understand that you can assign a function to the event "onmidimessage".

My problem is that this function is called for every pressed/released single note, so how should I deal with multiple notes pressed at the same time, with the purpose of playing a chord?




Aucun commentaire:

Enregistrer un commentaire