I found the USB MIDI capability of the Teensy, and it looks like exactly what I need to perform some MIDI translation.
My requirement is to receive some SysEx messages and transmit them back out as MIDI CCs (continuous controllers).
I see there is no callback function for SysEx. I suppose it would be acceptable to just poll the read() function and act on SysEx messages that way, since the system isn't doing anything else.
Since USB MIDI provides a higher data rate than legacy serial MIDI, is there any buffer overflow protection if SysEx messages come in faster than the read() polling and output process can handle them?
One more question - I'm new to the Teensy. Does the MIDI code work equally well on the Teensy 2.0 and the 3.1? I see the schematic with the 74HC4051 input multiplexer shows the 2.0 version....
My requirement is to receive some SysEx messages and transmit them back out as MIDI CCs (continuous controllers).
I see there is no callback function for SysEx. I suppose it would be acceptable to just poll the read() function and act on SysEx messages that way, since the system isn't doing anything else.
Since USB MIDI provides a higher data rate than legacy serial MIDI, is there any buffer overflow protection if SysEx messages come in faster than the read() polling and output process can handle them?
One more question - I'm new to the Teensy. Does the MIDI code work equally well on the Teensy 2.0 and the 3.1? I see the schematic with the 74HC4051 input multiplexer shows the 2.0 version....
Last edited:


