|
Post by pjefferson on Apr 19, 2014 11:28:52 GMT
Got another one I cannot figure out.
I have my KMI 12 step set to send out a range of midi control messages for brightness (4a) depending on the pressure applied to the foot switch. The trick is that I only want this to work for one note which is A4 (note 51 on your table). I need all other notes to be hard coded to a value of 45. These events are happening on channel 11.
I tried this and it does not work:
NA 00-50 = BA 4A 45
|
|
nic
Soapbox Supremo  
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Apr 19, 2014 11:47:48 GMT
Tricky. You want to pin the brightness CC message to a certain value unless a particular note (A4) is being played.
There are two distinct messages involved: the CC message and the note message. Right now the Stream Byter has no if/then/else type logic, so the only way I can think of doing this would be to use scenes and then switch from one to the other when you hold down the note and then back again when you release.
Assuming that the Scene Change channel is 16 (MidiBridge Prefs), something like this (rules must be on Stream Byter on KMI *input* port)
Scene 000: pin brightness
9A 51 01-7F = CF 01 +C # switch to scene 1 when A4 played BA 4A = XX XX 45 # pin brigthness CC to 45
Scene 001: permit brightness
8A 51 = CF 00 +C # switch to scene 0 when A4 released 9A 51 00 = CF 00 +C
Regards, Nic.
|
|
|
Post by pjefferson on Apr 19, 2014 12:16:58 GMT
Damn .... I forgot an important piece of info for you Nic which might change things.
Channel 11 is a guitar patch which is why I want to pin the brightness to 45. When I play the A4 note I am moving it over to channel 12 (keyboard patch) and down two octaves via the following:
NA 51 = XB 39
So I guess what I should have asked is how would I copy any of the 4a brightness CC messages over to channel 12 so that channel 12 responds to them and then pin CC 4a to a value of 45 on channel 11?
This is the stream byter as it is now:
# BLOCK KMI VOLUME CC BX 07 = XX +B
#MOVE A4 FROM CH11 TO CH12 AND DOWN TWO OCTAVES NA 51 = XB 39
#COPY BRIGHTNESS CC FROM CH11 TO CH12 THEN PIN CH11 BRIGHTNESS TO 45 BA 4A = XB XX +C BA 4A = XX XX 45
|
|
nic
Soapbox Supremo  
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Apr 20, 2014 9:57:32 GMT
Hehe, no worries!
Looking at your rules am I right that this is working how you want it now? You are mirroring the CC to channel 12 and pinning that CC for channel 11. That makes sense to me.
Regards, Nic.
|
|