You're looking at an archived, read-only version of our old community forum. See our new community forum here.

MIDI over USB

Maikoi92

Linsey

Location: Belgium

Joined: Apr 21 2009

Hello GTers! Long time no see ^^

I have zero experience with MIDI interfacing, so my question is for those with MIDI interfacing experience/knowledge: Can I use a MIDI device (a digital piano) as a MIDI input device on my laptop by connecting it through a 'USB to Host' jack, using a USB-to-USB cable?

I'm doing some MIDI programming (on Linux) and what I want to accomplish is to read keystrokes from the piano (programmatically) to check if a key was hit by the player, this should be with minimum latency. I'll be using a (Kawai ES 7) digital piano, which has MIDI IN/MIDI OUT jacks and a 'USB to Host' jack. I could use a MIDI-to-USB cable, but since I don't have that and would need to buy one, I was wondering if it could be done over simple USB.

Anyone who knows whether this is possible?

Cheers!

Hmm seems like a interesting

BigHeadClan

Joined: Jan 20 2012

Hmm seems like a interesting project, although I'm not sure if you can guarantee minimum latency if your using a USB interface because of the number of channels MIDI requires. Still I'm curious to find out how this plays out, best of luck!

BigHeadClan, MIDI is an

auriplane

Joined: Sep 06 2008

BigHeadClan, MIDI is an extremely low-bandwidth protocol (4KB/s), and USB offers far higher bandwidth than MIDI itself (over five orders of magnitude greater with USB 3.0). You're more likely to have latency problems with traditional MIDI.

There's no latency problem with MIDI over modern USB.

----------

Auriplane!!

auriplane..

BigHeadClan

Joined: Jan 20 2012

Oh I know USB has far greater transfer speeds (bandwidth) especially with USB 3.0 I never questioned that, I just recalled reading about a lot of latency issues with MIDI/USB interfaces.

Then again I read that a while ago & I never checked the date so I wounder if it was referring to USB 1.0, in which case USB 2.0 and later have lower latency and would probably have no issues.

Yeah, you read about stuff

auriplane

Joined: Sep 06 2008

Yeah, you read about stuff from like 15 years ago. If you read about it more recently than that, what you read was probably mistakenly repeating an internet meme. It hasn't been an issue for a long time.

If you use physical MIDI cables for anything, you're almost guaranteed to have more latency problems than using a USB interface.

----------

Auriplane!!