-
Notifications
You must be signed in to change notification settings - Fork 66
Home
lathoub edited this page Feb 22, 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 AppleMIDI.begin("session1");
method. This will create a session name "session1" 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 AppleMIDI.run();
as much as possible in loop()
to minimise the latency. The run method will read incoming bytes and parse them against he MIDI protocol.