Author |
Message |
Silesius

Joined: Feb 12, 2010 Posts: 65 Location: Berlin
|
Posted: Thu Jun 21, 2012 9:56 am Post subject:
Usb midi to common din midi connectors Subject description: Is there an easy way to implement that? |
 |
|
Hi,
This last years I'm seeing a lot of new midi controllers which have only a usb connector (usually the cheaper/smaller ones). I'm considering buying one of these, like for example a korg nanopad. The problem is I mostly use analog hardware, and this kind of controllers are useless for that. I also own a Novation Nocturne, which fits in the above description.
So my question is: is there a (easy/cheap) way to adapt the usb connector to work with traditional din connectors? Let's say one midi input, one midi output and one power jack? Of course, I'm interested on something quick and easy (no microcontrollers, etc, that's no worthy), like a simple circuit.
Any thoughts? |
|
Back to top
|
|
 |
baudrate

Joined: Mar 19, 2012 Posts: 27 Location: Utah
|
|
Back to top
|
|
 |
Silesius

Joined: Feb 12, 2010 Posts: 65 Location: Berlin
|
Posted: Thu Jun 21, 2012 4:27 pm Post subject:
|
 |
|
Well... thanks, but this thing costs twice the price I want to pay for a cheap midi controller. This is the diy section. The idea is to build something. For this price I can buy a better midi controller with din connections. For, example, I would like to mod my Novation nocturne and add the din connectors. This is even more expensive than the controller itself. Sorry, but I can't see your point here.
But thanks anyway  |
|
Back to top
|
|
 |
marvkaye
Joined: Mar 14, 2011 Posts: 225 Location: Fla
|
Posted: Thu Jun 21, 2012 5:51 pm Post subject:
|
 |
|
How about a less expensive alternative.?.?. I have several Yamaha US256 USB/MIDI boxes and they work great. Got them all on ebay for pretty cheap. Here's one listed currently, unfortunately in the US, but maybe if you stay on the lookout one might pop up in Europe. You could always turn it into a DIY by stripping the PCB from the case and remounting the hardware onto your own modular panel. Just a thought....
<marv> |
|
Back to top
|
|
 |
cbm

Joined: Oct 25, 2005 Posts: 381 Location: San Francisco
|
Posted: Thu Jun 21, 2012 8:29 pm Post subject:
|
 |
|
This is a non-trivial thing. The USB protocol is quite complex, and implementing the USB-Host protocol for a USB class-complient MIDI controller is a chunk of work. The only things that I know of are the Kenton mentioned above and the iConnectMIDI interface that convert USB MIDI to standard five pin DIN MIDI. _________________ Chris Muir
http://www.eardrill.com <– My jobby (more than a hobby, less than a job) |
|
Back to top
|
|
 |
Silesius

Joined: Feb 12, 2010 Posts: 65 Location: Berlin
|
Posted: Thu Jun 21, 2012 11:43 pm Post subject:
|
 |
|
Ok, thanks a lot for your your replies. Now I see, the answer to my question is NO
I wasn't really thinking on buying anything (the yamaha seems a good option though). It was just something I wanted to know, since I don't know anything about this subject. I thought: maybe it's just a matter of soldering some wires or make a simple circuit or something. Thanks! |
|
Back to top
|
|
 |
PickNick

Joined: Oct 16, 2009 Posts: 82 Location: BP
|
|
Back to top
|
|
 |
jksuperstar

Joined: Aug 20, 2004 Posts: 2503 Location: Denver
Audio files: 1
G2 patch files: 18
|
Posted: Fri Jun 22, 2012 11:06 am Post subject:
|
 |
|
I've done this, and intended to make a kit, but have completely run out of time. So I'll post my experience for those to learn from!
It'll cost you just a few bucks to get a simple development board, add the associated MIDI logic, and a free download of code.
First, you need a development kit based on the Atmel AVR microcontroller, but it must have USBOTG, in order to act like a USB Host, not just slave.
http://www.atmel.com/tools/AT90USBKEY.aspx
They go for about $30 US, and I got mine at digikey. They might not be made anymore, but we'll get through that in a minute.
The firmware needed is called LUFA, it is a library, but includes examples for doing so many things, including being a usb host to midi converter for Midi Class Compliant devices. If no special driver is needed, it
s probably class compliant, and this will work.
http://www.fourwalledcubicle.com/LUFA.php
So, download LUFA, then get WinAVR or similar AVR Compiler. It's pretty easy to install, if you haven't before.
If you can't find the USBKey anymore, check through the LUFA docs, and see if you can find a compatible board. That just makes life easier for you, so you need to do MINIMAL development yourself, and get right to it. The USBKey is nice, because it needs no JTAG dongle, or other programmer. It attaches to the PC via it's own USB, you program it, then disconnect and use.
MIDI converters from standard UART to MIDI (with optoisolators and current limit resisters) is widely available. So modify the board you get, and that should take a few hours to do.
Best of luck, but PLEASE, POST YOUR RESULTS if you do this!! |
|
Back to top
|
|
 |
jksuperstar

Joined: Aug 20, 2004 Posts: 2503 Location: Denver
Audio files: 1
G2 patch files: 18
|
Posted: Fri Jun 22, 2012 11:09 am Post subject:
|
 |
|
I have code somewhere that does a USBOTG switch, being either a MIDI to USB converter (for PC interface use), or can be USB to MIDI (for taking a USB device and converting it to MIDI directly with no computer).
The next step, was for me to turn up the polling rate, beyond USB standard 1ms, and see if it worked to get faster response times out of a USB device  |
|
Back to top
|
|
 |
bikini-inspector
Joined: Nov 29, 2007 Posts: 16 Location: bremen
|
Posted: Fri Jun 22, 2012 6:21 pm Post subject:
|
 |
|
anyone mentioned this already?
http://www.youtube.com/watch?v=kfCDjwHBBuM
i have tried it once to use a lpk 25 with my modded monotribe. I worked after my arduino-pro buddy checked the code.
i think there was something about baud rates.
also, if i remember correctly, there was something about having to set the USB device's hardware ID manually for every usb device. Means you can't plug in a different device unless you reprogram the aduino and enter the new device's ID...but maybe he worked out a fix for that...
i can ask him if anyone's interested |
|
Back to top
|
|
 |
Silesius

Joined: Feb 12, 2010 Posts: 65 Location: Berlin
|
Posted: Sat Jun 23, 2012 1:40 am Post subject:
|
 |
|
Well, I see this is getting interesting but, as far as I'm concerned, it's far beyond my knowledge I'm afaid I'm in the analog side of DIY. It seems I'll have to learn all this microcontroller, Arduino, etc kind of stuff.
I just hope this info will be useful for more educated people  |
|
Back to top
|
|
 |
|