Skip to Content

No MIDI-IN light or response, other software shows midi is ok.

5 replies [Last post]
wysocki
Offline
Joined: 01/11/2012

Two questions: I've installed Hydrogen 0.9.6-alpha1 snapshot of February 2011 and like what I see. But I can't get it to see my midi piano coming in. I was unsure whether I needed Jack or not, but when I ran Jack, I got errors like "Could not connect to Jack server as client" etc. So I started Hydrogen with out it, and I was able to select my driver (PortMidi), input (MIDISPORT Uno In), and channel (all).

I want to use a couple of the top keys of my electric piano to control play,stop,etc. (and also to create drum tracks would be nice). When I play the piano, the MIDI-IN light does not flash, nor is there any other evidence of signal being received. If I run other software like SONAR or MIDI-OX, they all show notes coming in on channel 1 from the piano. What am I doing wrong?

Also, if I click the red button at the left of the Midi System setup tab, it says "This element is not midi operable". The manual says it is. Is this a problem because of the Windows version?

HELP!!!!

wolke
wolke's picture
Offline
Joined: 03/30/2010

windows?

under windows it is recommended to use jackd via an asio driver. only in this setup you get the short latency you needed to play hydrogen via midi trigger or keyboard. an good introduction to jack is here available http://jackaudio.org/jack_on_windows.

and now something about h2 and midi. under windows, hydrogen only support portmidi. if your device is available, you can chose it via the preferences window. simple open the preferences window and click on midi tab. here you find an dropdown which holds all portmidi input devices. simple choose your input device from list.

the installer you used is the newest and best one.

important, if you install a higher version of jackd(available from jackd homepage), as the one which is included into the hydrogen installer package, you have to delete the 1.9.6libjack.dll which is installed into your hydrogen installation directory. for example c:\Program Files\Hydrogen\1.9.6libjack.dll. otherwise hydrogen crashes if you try to connect hydrogen to jack.

greetings wolke

wysocki
Offline
Joined: 01/11/2012

Thanks, Wolke. I checked out the jack_on_windows link and went through it. I have not downloaded Jack from their site, I installed the one that came with Hydrogen. I made the tweaks according to the instructions on the Jack site and so I first start the server with this command:

"C:\Program Files\Jack v1.9.6\jackd.exe" -R -S -d portaudio -d "ASIO::ASIO4ALL v2"

It starts and looks ok and I get a message "ASIO4ALL v2 - Jackd". If I start Hydrogen at this point, Jack's console reports "Unknown destination port in attempted (dis)connection src_name [Hudrogen:out_L] dst_name {alsa_pcm:playback_1]. In Hydrogen, the Midi System shows Midi Driver = "PortMidi" (the only choice), Input = "Midisport Uno in" (my usb midi adapter). The Audio System shows "Jack" or "PortAudio" (which should I use?) but I can't enter anything in the Device box. If I have "Jack" selected for audio, the "Jack Transport On/Off" light is ON.

In Jack Control, I have set the Server Path = "jackd -X winmme" as instructed. The Audio tab shos Hydrogen (out_L and out_R) connected to system (playback_1 and playback_2), but the midi tab is empty and there are no other tabs as I've seen appear in some tutorials.

Thanks so much for your help, it's really appreciated!!!

wolke
wolke's picture
Offline
Joined: 03/30/2010

first, some words to the audio system. choose "jack" in hydrogen preferences audio tab and press ok. after this restart hydrogen. now hydrogen try by default to connect to the jack system on start up. to see hydrogen connected to system in jack control is almost good. this mean that hydrogen has successfully connected to jack audio server. if you can hear no sound on this point the error must be in your jack settings. which soundcard is under control from ASIO4ALL. in my case i use ASIO4ALL to use the internal build-in soundcard. if i connect jack to an external soundcard i have to use the corresponding asio driver. in jack control settings window, it is possible to see a list with all currently connected soundcards and drivers. you can find this list if you press the button left from input or output device drop downs. this will only work if the driver drop-down(four/five rows higher)  on portaudio and not on winmme. in this case select the needed soundcart/driver from dropdown and copy this to the device dropdown two rows higher. jack control has a bug and disabled this functionality on device dropdown:(. whatever set the input or output device dropdown back to default if you have copied the string into the device dropdown. now save your settings and restart jack by using the jack control driver start/stop buttons. the setup from jack under windows is really tricky:() and also not so user-friendly. under linux it will mostly work simpler.

midi: the midi tab in jack control is empty because hydrogen don't support jack midi. choose portmidi and make the connection via the hydrogen preferences midi tab. more or less exactly as you have. normally in this case the midi in led in hydrogen will blink if midi notes comes in. currently i have no idea why this will not work  on your system:(, sorry.

greetings wolke

wysocki
Offline
Joined: 01/11/2012

SO... since you say "Hydrogen don't support Jack midi..." I guess I'm wasting our time trying to get Jack running. I ONLY want to use the midi aspect of Hydrogen - playing patterns AND accepting midi input purely to control the transport and pattern selection. If I don't care about audio wav or mp3 then I don't need Jack, right?

That still leaves me with the problem/question why Hydrogen won't interact with my usb/midi device. As I said SONAR and MIDI-OX see it very easily. And the midi tab in Hydrogen sees the Midisport. It just doesn't send midi out to it nor does it show any input on the MIDI-IN led.

I guess I'll either have to make this a Linux computer or find a Windows equivalent of Hydrogen. Is there such a thing?

wolke
wolke's picture
Offline
Joined: 03/30/2010

ah-ha, maybe we talk from different thinks. i think the different of midi latency between portmidi and jackmidi is not notiseble. i was thinking that you will trigger hydrogen notes/instruments via midi. in this case you need small audio latency to get the right feeling. and than you need jackd via asio only for the audio part, because portaudio and hydrogen act together with more than 100ms latency. this is only usable for playback but not for live drumming.

what kind of midi data did you send to hydrogen. if you use a midi keyboard maybe note messages.  hydrogen response only to an range of note-, all cc- and some mmc- messages. also hydrogen don't use the gm drumset specification. as i am right the first instrument in hydrogen (mostly BD) is mapped to midi note 38. all following instruments increase +1.

i don't know if there is something similar like hydrogen on the windows market. starting up on linux is not so bad. but you need some time to understand all the differences between the systems. also there are only one hand full of commercial audio applications which work native on linux. the same with external audio hardware. most devices will work, but also there are a lot of unsupported or incomplete working devices.

/g

wolke