oddson
Well-known member
OP namedrops 'Hairless' which appears to be a kludge around Arduino's clumsy USB connectivity. So it was using regular MIDI to send via serial USB connection.That only leaves the mystery of how this code was supposed to work on a Mega and Teensy2 ...
Of course this why so many MIDI projects find their way on to Teensy but the non-symmetrical implementation in usbMIDI compared with the standard MIDI library does lead to some confusion and porting working sketches isn't as trivial as it might be.