Skip to Content

Seeing as i can't customize a midi map for inputs with hydrogen, can anyone help with mididings?

11 replies [Last post]
jj77
Offline
Joined: 01/08/2014

I understand that only midi outputs can be mapped with hydrogen. I have a device which doesn't allow it's midi outs to be mapped differently. Seeing as i can't remap the midi ins in hydrogen, how would i do this with mididings? I would like to be able to convert midi note ons to other midi notes on. Would this be easy? I'd love to be able to do this as i think hydrogen is great but it doesn't seem to allow this functionality itself. Any help on how to do this would be appreciated. I think mididings would do the job but i don't know how to write scripts myself. Are there any other solutions to my problem? To be able to remap midi on notes before sending them to hydrogen. Thanks

mauser
Offline
Joined: 03/30/2010

Hi!

You can change the midi-in mapping by re-ordering the instruments in the instrument list (by drag and drop). Just drag them around until you have the same order as your midi device.

jj77
Offline
Joined: 01/08/2014

Sorry, i should have mentioned that my midi device has midi notes below 36, which is where hydrogen starts so i would still need something to remap

mauser
Offline
Joined: 03/30/2010

If you can compile hydrogen on your own you could change the source code (i could show you where and what) and compile your own version which starts at a lower number. If you can't do it, mididings will be your friend :)

jj77
Offline
Joined: 01/08/2014

That is something i didn't think of and would be great. Only problem is, i've not had success in compiling it. I kept getting a can't load share library error last time i tried(i think that's what it was). I can't get onto the git page at the moment to try it out again but i did see that someone else on here had a simliar issue. Could you let me know where and what would change and i will try it again when git loads up for me.

jj77
Offline
Joined: 01/08/2014

This is the same issue as i was having -

 

http://www.hydrogen-music.org/hcms/node/1811

 

I did try the workaround, but when hydrogen loaded up, the interface was red and messed up. I don't know why, so i gave up on that idea.

 

Edit - i tried it again. I got the same result -

http://imagebin.org/285765

 

So if I try to build it, i get the shared object problem and the workaround gives me the result pasted above. I'd love to be able to build it to set the mapping up exactly how i want. Would be a perfect solution. Any help would be great. Thank you

mauser
Offline
Joined: 03/30/2010

Ok, please try the following steps:

 

1.  ./build.sh r    (This cleans your build directory)

2. ./build.sh m      (This builds it again)

 

And then start hydrogen by using "./hydrogen" in the same directory.

jj77
Offline
Joined: 01/08/2014

I've just tried that and have the same issue. I am having both of the same issues (cannot open shared object file and the red distorted interface issue) on two different machines, one with kxstudio 12.04 and the other with debian 7. I'm not sure why that is.

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

the cause of this issue is a mismatch in the path to the images that are used in the GUI

i believe that it is an install issue.  i'm running ubuntu and i always have this issue when i build from source (not when i use a deb or install from a repo)

IIRC you will get some hints if you run hydrogen from terminal 

look for a line that contains something like this : /usr/share/hydrogen/data/img/gray 

 

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

ok guess the issue is /usr/share/hydrogen  <>   /usr/local/share/hydrogen

i think i was able to fix this by manually copying from location1 to location2 (or vice versa)

Maybe Sebastian has an idea of what causes this ?

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

about mididings:

just took a quick look at mididings and seems like you can remap Ctrl values (CC) individuallly, but seems that this is not possible for regular notes

you can however transpose all notes by a certain offset (see http://das.nasophon.de/mididings/doc/units.html#modifiers  and look for 'offset')

looks like a transpose script is the first example in the book, you are lucky :-)

see http://das.nasophon.de/mididings/doc/gettingstarted.html#examples

 

good luck and let us know how this turns out