Skip to Content

setting up Hydrogen Midi in WinXP

11 replies [Last post]
thijz
Offline
Joined: 04/17/2010

Hi

some of this might be old news to you guys, but i couldn't find this in the forum, so here goes !

i just did some tests with Hydro and a Midi controller on WinXP :

1) to be able to route Midi within XP i installed MidiYoke (similar to jack, but midi only and far less sophisticated).
This creates a number of 'virtual midi connections' within XP, allowing you to route midi from/to your controller/application.
(see http://www.midiox.com/ > free download)

2) change XP midi settings : goto Control panel > Sounds and Audio devices > Audio tab > change default midi device to 'MIDI Yoke 1'

3) in Hydrogen : goto Tools > Settings > Midi tab, change the driver from ALSA > PortAudio, save (click OK), goto midi settings again and only then you can select a input : select 'MIDI Yoke 1'

4) play a note on your controller and you should see the Midi-in indicator light flash

fyi : using 0.9.4-svn on XP

Bugs :

- every time you goto Tools > Settings >Midi system tab, the input is set back to 'None' > at least that's what the gui tells you, in reality the input is still selected

- the red 'Record' button in the Midi system tab (used for 'Midi learning') is not available. This feature works fine under Linux (although a bit buggy, and i cant figure out how to remove a learned midi mapping ??)

hope this was helpful, and of course if you have tips on how to get the midi learn function to work > let me know !
maybe there is a way to do it manually by editing a config file ?

greetz
thijz

mauser
Offline
Joined: 03/30/2010

Hi!

Midi learn won't work, it was introduced in a later version.
- Sebastian

thijz
Offline
Joined: 04/17/2010

hmm, that's strange ?
yesterday i used Hydro 0.9.4 on linux and that definitely has the midi learn function ?
is the 0.9.4 for Windows a different build than the 0.9.4 for linux ?
if it is : i'm confused, if it's not .. well, i'm also confused ;-)

btw : i was able to remove the 'learned' midi bindings : edit the hydrogen.conf in your /home/user/.hydrogen dir and remove the binding manually

grtz
thijz

mauser
Offline
Joined: 03/30/2010

Hi!

Yes, they are 2 different versions. The windows version was done as an experiment at the very beginning of the 0.9.4 development period.
The linux version of 0.9.4 was released about 2 years later, so it is much more stable and contains more features.
The windows version was not updated because we don't have a developer anymore for it..

Please tell me whats buggy about the midi learn :) I've coded it and i'm very interested in improving it.
You can "delete" an action if you set the action and event to the empty string ( on top of the list ). But that's a good idea, i should add a delete button.

thijz
Offline
Joined: 04/17/2010

hi Mauser

the problems i am experiencing are :

1) the midi input is always set to 'None' every time i open the preferences window. However, if i press the midi learn button (to create a new midi binding) and i hit one of the drum pads, this midi trigger is detected and the binding is created.
> i would assume that no midi event is detected as long as no midi input is selected ?

2) if i then save this new binding (by clicking the OK button in the preference window) and then reopen the preferences window, this new binding has not been saved
> to be able to save a new binding i have to make sure i have the right midi input selected when i press the OK button

3) removing a binding like you just described (setting the Event and Action to None) just does not work : the next time i open the preferences window the event is back. At first i thought it had something to do with the midi device being set to none, but that's not the case (i tested it)

however : once the midi bindings are configured they work fine :-)

i'll do some more test and let you know if find anything else

grtz
thijz

ps : thanks for the great work on hydro and the quick response ! i have never _ever_ had such quick response of the developer in any other forum !

mauser
Offline
Joined: 03/30/2010

Hi!

Hm, it's strange that hydrogen works so differently for you.. But i'm going to look into those issues. The drumkit mapping should be independend of the chosen midi-input, don't know what goes wrong there :-/

mauser
Offline
Joined: 03/30/2010

Hi!

I found the bug, it's fixed in rev. 1591! At the moment i'm working on midiLearn by clicking on gui elements. I think that makes it faster to create midi bindings..
Btw. it had nothing to do with the midi input, it was completely broken :) (at least in 0.9.5)

thijz
Offline
Joined: 04/17/2010

midi learn via clicking gui elements is a great feature !!
LMMS uses this type of midi learn and it works really intuitive
looking forward to that :-)

keep up the good work guys !

grtz
Thijz

mauser
Offline
Joined: 03/30/2010

Hi!

Thanks, i hope you will enjoy it. I've just merged the feature to trunk, so it is now in your main svn repository. At the moment you can use alt+click to select midi actions for all faders, the pan rotaries and the fx rotaries + the stop/play/mute buttons.

thijz
Offline
Joined: 04/17/2010

hi mauser

i just downloaded the sourcefiles from 'trunk' (rev 1628), but the midi learn does not seem to work ? > if i alt-click on play or stop nothing happens.
am i doing something wrong here ?

grtz
thijz

mauser
Offline
Joined: 03/30/2010

Hi!

We have changed it to "shift+click" since alt+click was the shortcut for "move window" on some systems.

thijz
Offline
Joined: 04/17/2010

sweet