electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
Live streaming at radio.electro-music.com

  host / artist show at your time

poster

Please visit the chat
 Forum index » DIY Hardware and Software » Arduino
USB MIDI to Legacy MIDI via Arduino
Post new topic   Reply to topic
Page 1 of 1 [15 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
adnauseam



Joined: Mar 27, 2013
Posts: 146
Location: Manitoba, Canada

PostPosted: Fri Jan 10, 2014 9:00 am    Post subject: USB MIDI to Legacy MIDI via Arduino Reply with quote  Mark this post and the followings unread

So check this out:

Interfacing MIDI devices with Arduino using USB Host Shield

With a bit of fiddling you could potentially look at MIDI data coming from any USB only MIDI device and adapt it to sent standard midi out to any other device. This means you could use your korg nano products, usb only midi controller, perhaps even the OP-1 as a device for legacy midi devices.

This approach seems promising to anyone who has the time to tinker. Currently the only decent available USB-> MIDI device (by iConnectMIDI I think?) is approaching $200.

What I read in the comments section is that one problem you may encounter is the voltage levels of the shield may not be large enough for some bus powered usb devices. This coould be explored.[/url]
Back to top
View user's profile Send private message
MusicMan11712



Joined: Aug 08, 2009
Posts: 990
Location: Out scouting . . .

PostPosted: Fri Jan 10, 2014 4:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

[removed for personal reasons]
Last edited by MusicMan11712 on Tue Nov 15, 2016 10:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
adnauseam



Joined: Mar 27, 2013
Posts: 146
Location: Manitoba, Canada

PostPosted: Fri Jan 10, 2014 4:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

I got a little bit excited and ordered an Arduino with some USB and midi din jacks. well see how it goes in a few weeks Laughing
Back to top
View user's profile Send private message
MusicMan11712



Joined: Aug 08, 2009
Posts: 990
Location: Out scouting . . .

PostPosted: Sat Jan 11, 2014 9:57 am    Post subject: Reply with quote  Mark this post and the followings unread

[removed for personal reasons]
Last edited by MusicMan11712 on Tue Nov 15, 2016 10:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
adnauseam



Joined: Mar 27, 2013
Posts: 146
Location: Manitoba, Canada

PostPosted: Sat Jan 11, 2014 10:58 am    Post subject: Reply with quote  Mark this post and the followings unread

Quite pricey! I purchased some USB to serial adapters for about 2 bucks each. they convert USB date into serial data with no setup our drivers for the arduino
Back to top
View user's profile Send private message
cappy2112



Joined: Dec 24, 2004
Posts: 2354
Location: San Jose, California
Audio files: 2
G2 patch files: 1

PostPosted: Fri Feb 21, 2014 12:52 am    Post subject: Reply with quote  Mark this post and the followings unread

adnauseam wrote:
Quite pricey! I purchased some USB to serial adapters for about 2 bucks each. they convert USB date into serial data with no setup our drivers for the arduino


Would you post the link for those adapters?

_________________
Free Tibet. Release the Panchen Lama from prison. Let the Dalai Lama return to his home.
Back to top
View user's profile Send private message
adnauseam



Joined: Mar 27, 2013
Posts: 146
Location: Manitoba, Canada

PostPosted: Fri Feb 21, 2014 1:20 am    Post subject: Arduino USB Reply with quote  Mark this post and the followings unread

So I got mine in the mail a few days ago..

They're Mini A usb connectors. Bummer

Most devices will have Standard USB B (or sometimes USB A)at the instrument end (that's the more square, robust connector) and Standard USB A at the other end (the more rectangular, annoying connector)

So It was my fault for buying an item with a poor description and a bad photo (and also not enquiring).

They're still available on ebay for cheap, though.


*** Disclaimer: I haven't tried either of these as the ones I ordered weren't what I wanted. ***

USB A
USB B (the larger one)

I have ordered a few of the first ones. I have the most of these cables available. I plan to first try it out with my Korg NanoKontrol and later my Behringer BCR2000
Back to top
View user's profile Send private message
gdavis



Joined: Feb 27, 2013
Posts: 352
Location: San Diego
Audio files: 1

PostPosted: Fri Feb 21, 2014 11:51 am    Post subject: Reply with quote  Mark this post and the followings unread

The difference between the "expensive" shield and the "cheap" usb to serial converter is that the shield acts as a host which can enumerate connected devices while the converter can only act as a device which must be connected to a host.

Most midi controllers are usb devices, not hosts, and will need to be connected to a host to operate.

I don't mean to be a downer, but I don't think the simple usb to serial converter is going to allow you to connect to midi controllers, you need the host shield.

_________________
My synth build blog: http://gndsynth.blogspot.com/
Back to top
View user's profile Send private message
adnauseam



Joined: Mar 27, 2013
Posts: 146
Location: Manitoba, Canada

PostPosted: Fri Feb 21, 2014 12:06 pm    Post subject: USB Host Reply with quote  Mark this post and the followings unread

I was thinking this...

That was always the downside of USB, iirc.

I guess we'll find out soon enough Smile
Back to top
View user's profile Send private message
cappy2112



Joined: Dec 24, 2004
Posts: 2354
Location: San Jose, California
Audio files: 2
G2 patch files: 1

PostPosted: Fri Feb 21, 2014 12:10 pm    Post subject: Re: Arduino USB Reply with quote  Mark this post and the followings unread

adnauseam wrote:
So I got mine in the mail a few days ago..

They're Mini A usb connectors. Bummer

Most devices will have Standard USB B (or sometimes USB A)at the instrument end (that's the more square, robust connector) and Standard USB A at the other end (the more rectangular, annoying connector)

So It was my fault for buying an item with a poor description and a bad photo (and also not enquiring).

They're still available on ebay for cheap, though.


*** Disclaimer: I haven't tried either of these as the ones I ordered weren't what I wanted. ***

USB A
USB B (the larger one)

I have ordered a few of the first ones. I have the most of these cables available. I plan to first try it out with my Korg NanoKontrol and later my Behringer BCR2000


BTW- the Arduino 2560 ADK has both host & target USB implemented.
It costs more, but you get a lot more program & data memory, IO pins, serial ports, HW interrupt pins.

_________________
Free Tibet. Release the Panchen Lama from prison. Let the Dalai Lama return to his home.
Back to top
View user's profile Send private message
elektromeister



Joined: Feb 18, 2013
Posts: 25
Location: Freiburg

PostPosted: Wed Jan 11, 2017 12:29 pm    Post subject: Reply with quote  Mark this post and the followings unread

Anynody managed to get more then one USB devices like AKAI onto his Arduino?

What is required to do that?

I need a solution to obtain data from any MIDI Controllers, like also flute and saxophone into an electronic device. Next to Controllers like lauch pads.

I wonder how it is possible to analyze them? I expect them to have all their different MIDI Protocol, or?

_________________
musc is the key
Back to top
View user's profile Send private message
Grumble



Joined: Nov 23, 2015
Posts: 606
Location: Netherlands
Audio files: 19

PostPosted: Wed Jan 11, 2017 1:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

Google for Hiduino, this is where your arduino (UNO) turns in a native !!! MIDI device, so your computer will see the arduino as a MIDI device.

And HERE you can even rename your Hiduino (give it a name that makes sense)
Back to top
View user's profile Send private message Visit poster's website
gdavis



Joined: Feb 27, 2013
Posts: 352
Location: San Diego
Audio files: 1

PostPosted: Wed Jan 11, 2017 2:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

To connect to a MIDI controller the Arduino needs to act as a USB host, not a USB device (the MIDI controller is the USB device). Uno doesn't have the hardware to act as a host, I think some others might.

I was just reminded that there is an Arduino USB host shield available. That might work. It refers to a USB host library. Hmmm, I must look into this....

_________________
My synth build blog: http://gndsynth.blogspot.com/
Back to top
View user's profile Send private message
Grumble



Joined: Nov 23, 2015
Posts: 606
Location: Netherlands
Audio files: 19

PostPosted: Wed Jan 11, 2017 4:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

USB Host Shield Compatible Google Android ADK Support UNO MEGA
https://banggood.app.link/7mMbIWqpRz
Back to top
View user's profile Send private message Visit poster's website
Spikes



Joined: Feb 10, 2012
Posts: 14
Location: London, UK

PostPosted: Sat Jan 28, 2017 5:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

I've built a USB MIDI to standard MIDI converter using that host shield and an Uno.
Works fine.
There is a library and examples so used that as a base.
There is a bidirectional example which no-one seems to have got working.

In my case I got a USB keyboard for playing a diy synth, that was fine but then the synth could only be used with a USB keyboard so added standard MIDI, easy to do and now can use either.

After that feature creep set in.....
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1 [15 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Arduino
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use