- events return a pointer to this for easy command/event chaining and avoid have to create separate function declarations. It adds to the readability and brevity of the code.
AppleMIDI
.setHandleConnected([](const APPLEMIDI_NAMESPACE::ssrc_t & ssrc, const char* name) {
// do something
})
.setHandleDisconnected([](const APPLEMIDI_NAMESPACE::ssrc_t & ssrc) {
// dome something else
});
- setPort
Ability to the RTPMIDI UTP port (default 5004), call this before you call MIDI.begin