MIDIUSB icon indicating copy to clipboard operation
MIDIUSB copied to clipboard

Midi on serial port

Open giovannibotta opened this issue 6 years ago • 6 comments
trafficstars

Hi I’m trying to understand whether it’s possible to output midi signals directly on a serial port connected to a standard din connector, in addition to USB. The application for this is to control devices that only have din support and/or without a host computer. Looking at the code, it doesn’t seem supported but I might be wrong. Also this might not be the right library for this and a separate one might exist. I tried to do some research but without success. Any ideas?

giovannibotta avatar Jan 29 '19 13:01 giovannibotta

Yes it is look at this example (you'll find a lot of hardware resources with google to implement a midi in/out din connection to the arduino serial port(s)). I developed this midi interface so that my son can learn piano with his ipad while using an old midi din interface on a casio piano.

fab672000 avatar Jan 29 '19 14:01 fab672000

Is this a fork of MIDIUSB?

On Tue, Jan 29, 2019 at 09:42 fab672000 [email protected] wrote:

Yes it is look at this https://github.com/fab672000/MIDIUSB_1x1.git example (you'll find a lot of hardware resources with google to implement a midi in/out din connection to the arduino serial port(s)). I developed this midi interface so that my son can learn piano with his ipad while using an old midi din interface on a casio piano.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arduino-libraries/MIDIUSB/issues/52#issuecomment-458564542, or mute the thread https://github.com/notifications/unsubscribe-auth/ACAGMJf5KOouv8xUR2dinVC_G-r32l5Zks5vIF27gaJpZM4aYCZk .

-- Giovanni

giovannibotta avatar Jan 29 '19 22:01 giovannibotta

No it is using it instead and alkso uses another great midi lib from another contributor here.

fab672000 avatar Jan 29 '19 22:01 fab672000

Sounds like it might make sense to add it to the Arduino repositories? Anyway I’ll give it a try, thank you!

giovannibotta avatar Jan 30 '19 10:01 giovannibotta

It seems to me that serial+USB functionality will soon be supported by arduino_midi_library, e.g., here.

giovannibotta avatar Jan 30 '19 11:01 giovannibotta

Yes, my project also uses @franky47 MIDI library, I think he implemented recently a bridging functionality similar to mine there, could not check that out yet.

My project is more specific though and designed for use as a self-powered usb device on tablets like iPads.

I'm sure you could now use his lib to do the same thing.

fab672000 avatar Jan 30 '19 15:01 fab672000