For quite sometime, it seemed that code produced via the Arduino IDE used usbMIDI without a usbMIDI.h include.
However, since I upgraded to the Arduino IDE v2.0.3, this seems not to be so, and the code below:
void setup()
{//1. Declare usbMIDI Event Handlers:
usbMIDI.setHandleNoteOn...