Hi Egor<div><br></div><div>thanks for the tip!</div><div>Jeremy already pointed my in that direction, but it seemed a bit overkill (i like it simple, it suits my personality  ;-)</div><div>however, it indeed looks really powerful so i'll definitely look into it and play with it a bit </div>

<div><br></div><div>grtz</div><div>Thijs</div><div><br></div><div><br><div class="gmail_quote">2011/12/16 Egor Sanin <span dir="ltr"><<a href="mailto:egor.sanin@gmail.com">egor.sanin@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Thijs,<br>
<br>
After reading your blog post, I wanted to let you know that you can<br>
probably do this whole thing in a simpler way using mididings:<br>
<a href="http://das.nasophon.de/mididings/" target="_blank">http://das.nasophon.de/mididings/</a><br>
<br>
If Hydrogen can only send note messages, this is not a problem, just<br>
route the note through mididings and convert it to something else<br>
there.<br>
<br>
It looks to me like your effects unit expects program change message,<br>
so assuming when you switch to your song, you want to select Program<br>
1, you can send (for example) note 56 out of Hydrogen to mididings and<br>
convert that note message to a program change.<br>
<br>
You can probably get away with something as simple as :<br>
<br>
from mididings import *<br>
<br>
run( KeyFilter(notes=[56]) >> Program(1) )<br>
<br>
This is just a python script, so put it in fxselector.py and then<br>
<br>
python2 fxselectro.py<br>
<br>
This will set up the necessary midi ports, you'll be able to see them<br>
in the jack graph.<br>
<br>
For more than one program, just decide on all your notes and then<br>
place the individual units in a list, which will essentially allow<br>
parallel execution in mididings:<br>
<br>
run( [ KeyFilter(notes=[56]) >> Program(1),<br>
          KeyFilter(notes=[57]) >> Program(10)<br>
        ] )<br>
<br>
It's a very powerful tool.  You can assemble any message you want if a<br>
simple program change won't do.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On 12/16/11, thijs van severen <<a href="mailto:thijsvanseveren@gmail.com">thijsvanseveren@gmail.com</a>> wrote:<br>
> 2011/12/14 Clemens Ladisch <<a href="mailto:clemens@ladisch.de">clemens@ladisch.de</a>><br>
><br>
>> <a href="mailto:harryhaaren@gmail.com">harryhaaren@gmail.com</a> wrote:<br>
>> > On , thijs van severen <<a href="mailto:thijsvanseveren@gmail.com">thijsvanseveren@gmail.com</a>> wrote:<br>
>> >> any ideas ?<br>
>> ><br>
>> > Yup! Tell jack to not use ALSA raw midi, use SEQ instead.<br>
>><br>
>> Raw MIDI ports do not allow sharing, so you have to tell all programs<br>
>> you want to use at the same time to use the ALSA sequencer.<br>
>> Instead of amidi, use aseqdump.<br>
>><br>
>><br>
>> Regards,<br>
>> Clemens<br>
>><br>
><br>
><br>
> thanks for all the tips guys !<br>
> it works great now :-)<br>
><br>
> see<br>
> <a href="http://audio-and-linux.blogspot.com/2011/12/pro-dsp1000p-automation-with-hydrogen.html" target="_blank">http://audio-and-linux.blogspot.com/2011/12/pro-dsp1000p-automation-with-hydrogen.html</a><br>
><br>
> grtz<br>
> Thijs<br>
><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><br><div>follow me on my <a href="http://audio-and-linux.blogspot.com/" target="_blank">Audio & Linux blog</a> !</div><br>
</div>