Thomas Orgis wrote: > Am Fri, 12 Mar 2010 12:57:08 +0100 > schrieb Sebastian Moors<mau...@smoors.de>: > >> Can you check if it is fixed in trunk? >> > Trunk still behaves the same for me. I clear any of event/action or both, but > that actually does not change anything. > Thanks, i can reproduce it now and a fix should be in our svn in some minutes. >>> Suppose I want to hack that in in some quick and dirty way: >>> >>> 1. Can hydrogen actually recognize CC04 messages with different values? >>> >>> >> Hydrogen can do it, the midi dialag does it behind the scenes.. The >> second paramter is (for example) used to set the volume if you use those >> actions which set the volume of a mixer strip ( first param selects the >> number of the strip). >> > I must admit that you lost me there... I am already stumbling over the face > that a CC message has two parameters, yet the dialog shows only one (I > suppose the first paramter is for the event). Then the action has another > parameter... > > Ok, i'll try to explain it. We have to different things here: Events and Actions. The Event is the CC message itself. It has two parameters ( http://www.midi.org/techspecs/midimessages.php#3 ). The midi configuration dialog shows just the first one. The Action is the thing that gets fired if the Event arrives. So if you set the Action for the Event "CC" with Parameter 127 to the String "STRIP_VOLUME_ABSOLUTE", hydrogen will check if the first paramter of the CC message is 127. If it is 127, hydrogen will automatically use the second parameter of the event as the second parameter of the action. The second parameter of the action ( all actions are described in actions.cpp) sets the volume. So if the message "CC 127 10" arrives, hydrogen sets the volume to "10". The first parameter of the action gets set in the midi dialog. It refers to the number of the strip that you want to change.
HTH, Sebastian ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Hydrogen-devel mailing list Hydrogen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hydrogen-devel