Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: difference between midi host and midi device modes ?

  1. #1
    Senior Member
    Join Date
    Dec 2018
    Posts
    149

    difference between midi host and midi device modes ?

    hello,

    I am getting confused with usb midi "host" and "device" modes.
    I have read here that the built-in micro usb is configured in device mode. It can send and recieve MIDI. So what is the difference with the 2nd usb "host" port, which is also bidirectional ?
    What the normal use of each port ?

    Thank you for your enlightenment !

    Emmanuel

  2. #2
    Senior Member
    Join Date
    Apr 2020
    Location
    DFW area in Texas
    Posts
    297
    @Emmanuel:

    From my experience (definitely not an expert), when plugging the Teensy into my PC using the primary microUSB connector, I am able to use the Teensy as a MIDI device (input from the Teensy & output to the Teensy) recognized by MIDI programs running on the PC. In addition, I can plug other MIDI devices (MIDI keyboard, another Teensy acting as a MIDI device, etc.) into the Teensy host USB connector & use them as MIDI input to the Teensy (they send MIDI messages to the Teensy) and/or MIDI output (they receive MIDI messages from the Teensy).

    Hope that helps . . .

    Mark J Culross
    KD5RXT

  3. #3
    Senior Member oddson's Avatar
    Join Date
    Feb 2013
    Location
    Isle in the Salish Sea
    Posts
    1,410
    The terms 'host' and 'device' modify USB and not really MIDI.

    Unless you're trying to host a MIDI-controller via USB you don't need to worry about the 'host'.

    (And if you are maybe start with a simple controller project first )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •