-
Notifications
You must be signed in to change notification settings - Fork 67
Home
lathoub edited this page Apr 21, 2020
·
31 revisions
Read the important migration page first, when you are migrating from v1.* to v2.*
In the setup()
function of the Arduino, you must call the MIDI.begin();
method. This will create a default session name "Arduino" and ready to be connected to. If you do not call the .begin() method, no session will be created and you will not able to access the session.
Call MIDI.read();
as much as possible in loop()
to minimise the latency. The run method will read incoming bytes and parse them against he MIDI protocol.