The MIDI Forum

  1. Gilbert
  2. MIDI Connections
  3. Sunday, 11 February 2018
  4.  Subscribe via email
I have a drum machine with a USB Type B output (printer type cable). I am wanting to connect this to an audio/MIDI interface (external sound card) that has regular MIDI IN/OUT ports. I already have a USB Type B to USB Type A cable, and have seen a MIDI to USB adapter/converter/interface on Amazon. I'm thinking I could connect this last cable to the MIDI IN/OUT of my audio/MIDI interface, then connect it to the cable from my drum machine using a USB Type A female-female coupler. My only concern is, that my audio/MIDI interface is considered an interface (interfaces to PC), while this MIDI to USB adapter is also called an interface (looks like a simple MIDI cable that has USB on other end, but supposedly has some type of chip and driver in it to convert MIDI to USB data)...would this cause a conflict? Thanks
Comment
There are no comments made yet.
Jason Cowling Accepted Answer Pending Moderation
0
Votes
Undo
Might want to try a USB host to MIDI converter:
References
  1. http://www.kentonuk.com/products/items/utilities/usb-host.shtml
Comment
There are no comments made yet.
  1. more than a month ago
  2. MIDI Connections
  3. # 1
Bruce Accepted Answer Pending Moderation
0
Votes
Undo
There is a simple solution to this that I have already prototyped - based on others' work.
Materials needed:
Arduino Uno or Mega
USB Host Shield
2 x 220 ohm resistors
MIDI DIN socket

I have purchased Arduino boards and a USB Host Shield from eBay that work. This brings the cost down to a more reasonable level which should be cheaper than a commercial product.

Insert the USB Host Shield into the sockets on the Arduino. Download and install USB Host Shield Library 2.0 and install it in the Arduino IDE. Circuits@Home built the original shield and you can find a library for it there.

Here is the sketch I used with an Arduino Mega:
File > Examples > USB Host Shield Library 2.0 > USBH_MIDI > USB_MIDI_converter_multi

Connect your MIDI DIN socket using the example from this page:
https://www.arduino.cc/en/Tutorial/Midi

Make sure to disconnect the TX pin from the circuit when uploading your code to the Arduino.

If you want to connect more USB MIDI devices, use a powered USB hub and edit the code accordingly. This was actually a very easy Arduino project and should not be very hard for a beginner. There are a minimal number of parts.
Comment
There are no comments made yet.
  1. more than a month ago
  2. MIDI Connections
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.