Skip to Content

Hydrogen shows no MIDI signal when using USB-MIDI cables

8 replies [Last post]
leftbas
Offline
Joined: 09/02/2013

Hi, everyone:

I've been using Hydrogen for about six months, and have had no difficulty using it with a trigger device using standard USB cables. Naturally, I'm using JACK to patch things together. However, when I connect a USB-MIDI cable (for older devices with no USB), Hydrogen shows that the device isn't transmitting. My test unit is a Korg microSTATION, which has both types of connectors. Ultimately, I need to connect a Roland PK-5 to my rig to trigger samples from Hydrogen with my feet.

The oddest thing is that both JACK and Hydrogen recognize the cables. (I'm attaching a couple of JACK screen shots to illustrate.) And I can switch back and forth in Hyrdrogen all day long, but the USB-MIDI cables just don't seem to work. I can't imagine that there's a separate configuration that I'm missing, but I'm pretty desperate to get this going.

I've been wracking my brain with this off and of for about a month, and I'm completely stumped. Help, please.

AttachmentSize
JACK MIDI.png49.38 KB
JACK patch bay.png91.4 KB
mauser
Offline
Joined: 03/30/2010

Have you tried to tried to open hydrogens preference dialog and set the midi input to your midi cable? Can you attach a midi monitor programm to the midi cable to see if the cable itself is working? I'm using also such a cable for all the midi-related development in hydrogen and mine works quite well (if its configured directly in hydrogen as a midi input). But of course there are different cables out there and some chipsets might be not compatible with Linux.

leftbas
Offline
Joined: 09/02/2013

I was trying to get a screenshot of it, but yes, I can select either of the MIDI-USB interfaces in Hydrogen with no problem. As I mentioned, both Hyrdogen and JACK recognize them. Speaking of chipsets, my Ubuntu box has an Intell 3000 audio chip set.

I installed KMidimon, but it doesn't seem to give me any useful information. Either that or I don't know how to read what it's saying. Would a screenshot of that help?

 

Btw, which cable are you using? The two that I've been working with are the Alesis AudioLink and the iConnect mio.

thijs
thijs's picture
Offline
Joined: 04/20/2010

the brand of 'MIDI-USB cable' (it's not just a cable, there is a usb-midi converter built in to it) doesn matter all that much

if you can see the midi in and out in Qjack you should be OK

so you are using a midi device (with a 5-pin midi connector) that you connect to your USB-MIDI cable, right ?

if you see anything happening in kmidimon whenever you hit one of the pads on your controller this means that the connection is OK

you might want to check out the midi channel you are using, both on your controller and in hydrogen (see this part of the manual), these numbers must match (also note that some devices use 0-based channel numbers, meaning that channel 1 = 0)

in kmidimon you should be able to see the midi channel that your controller is transmitting on, a kmidimon screenshot might help

 

hope this helps

grtz

Thijs

leftbas
Offline
Joined: 09/02/2013

I can indeed see the MIDI in and out, but it's far from OK. And yes, the MIDI channels are correct. I've gone through the range of channels on my devices and they go from 1-16, not 0-15. As for KMidiMon, it's not really showing the channels in use. Of the file that I made to show what messages are being received, note-on and note-off don't seem to be in the list; only port subscriptions and exits for the USB cable (which, by the way, has always worked). I played a few notes, but I don't see them in the KMidiMon output.

In the text below, device 128 is my synthesizer connected with its USB port; 32 is the iConnectivity mio MIDI-USB adapter. All that appears is that it's subscribed. (I couldn't figure out how to upload any additional files to this thread, so I pasted the output of KMidiMon here.)

4720,140.7202,0:1,,ALSA Port exit,128:0,,

4720,140.7221,0:1,,ALSA Port exit,128:1,,

4720,140.7248,0:1,,ALSA Client exit,128,,

4766,140.8180,0:1,,ALSA Client start,128,,

4766,140.8199,0:1,,ALSA Port start,128:0,,

4766,140.8219,0:1,,ALSA Port start,128:1,,

4766,140.8240,0:1,,ALSA Port subscribed,20:0,128:0,

4857,141.0071,0:1,,ALSA Port subscribed,32:0,128:0,

14827,161.7765,0:1,,ALSA Port exit,128:0,,

14827,161.7818,0:1,,ALSA Port exit,128:1,,

14827,161.7846,0:1,,ALSA Client exit,128,,

14874,161.8752,0:1,,ALSA Client start,128,,

14874,161.8818,0:1,,ALSA Port start,128:0,,

14874,161.8867,0:1,,ALSA Port start,128:1,,

14875,161.8913,0:1,,ALSA Port subscribed,32:0,128:0,

Thanks for your assistance with this. I hope I can get it resolved soon. It's kinda driving me nuts.

thijs
thijs's picture
Offline
Joined: 04/20/2010

hi,

is kmidimon constantly outputting the data you pasted in your previous post ?  or only when you plug in the midi cable, or when you connect a midi device ?

i dont use kmidimon but gmidimon (since i'm running gnome), but i'm quite sure that the output will be similar

if i hit a key on my keyboard i get something like this in gmidimon :  "channel 1, Note on, G#, octave 2, velocity 100"

 

can you test this : open a virtual keyboard (like 'vmpk' - it's in the repos) connect it to kmidimon, hit a key on the virtual keyboard and see what kmidimon outputs.

if that works, connect your virtual keyboard to hydrogen and see if the midi activity led lights up

 

if the virtual keyboard works this means that your midi cable or your midi controller are not working correctly

 

good luck!

thijs

leftbas
Offline
Joined: 09/02/2013

Doofus alert! Guess what I didn't know till yesterday? That you connect the MIDI Out of the cable into the MIDI In of the device. It's completely counterintuitive, but it works. Thanks to everyone who tried to help.

mauser
Offline
Joined: 03/30/2010

No problem, this happened to me too :)

thijs
thijs's picture
Offline
Joined: 04/20/2010

:-)

bottom line : problem solved !