Can I use the on-board microUSB socket for MIDI?

Status
Not open for further replies.
You can indeed use the main USB port as MIDI, but only in USB device mode. Details here:

https://www.pjrc.com/teensy/td_midi.html

If Teensy will talk MIDI with a computer or something else with USB host MIDI, then this works great.

If you need Teensy to work in USB host mode, where you would plug MIDI keyboards or other instruments into Teensy, then you'll need the host port on Teensy 3.6.

If all this host vs device stuff is confusing, the first part of chapter 4 in the USB 2.0 spec explains it pretty well. Here's a direct link to the PDF.

https://www.pjrc.com/teensy/beta/usb20.pdf

This file is huge, but chapter 4 is short and easy to read to get just the essential concepts.
 
You can indeed use the main USB port as MIDI, but only in USB device mode. Details here:

https://www.pjrc.com/teensy/td_midi.html

If Teensy will talk MIDI with a computer or something else with USB host MIDI, then this works great.

If you need Teensy to work in USB host mode, where you would plug MIDI keyboards or other instruments into Teensy, then you'll need the host port on Teensy 3.6.

If all this host vs device stuff is confusing, the first part of chapter 4 in the USB 2.0 spec explains it pretty well. Here's a direct link to the PDF.

https://www.pjrc.com/teensy/beta/usb20.pdf

This file is huge, but chapter 4 is short and easy to read to get just the essential concepts.

Thanks Paul, that answered my question. I only want to use the Teensy as a USB device, not host, so this should be fine.
 
Has anyone "solved" the matter of sending MIDI over the second USB port (where the 3.6 is a USB host)?

It's what I'm looking into now, and not deeply relishing spec-diving to code it myself (though if that's what's needed then that's what I'll do).

Hoping someone has an example I can copy. :)

update: I've since found another thread that seems a better place to find more information.

https://forum.pjrc.com/threads/43450-Teensy-3-6-USB-MIDI-host-development-status/page2
 
Last edited:
Status
Not open for further replies.
Back
Top