|
Post by elektrodave on Sept 28, 2014 16:35:30 GMT
Hi. I have two questions : First, I would like to use use a MIDI note ON/OFF message as an ON/OFF volume momentary switch. The code I used is here below. It work to turn OFF the volume but I cant get the volume back ON to full value (127). Everything is on Channel 1, MIDI note 44h to CC21.
90 4B = B0 15 00 N0 4B = B0 15 7F
Second, I was wondering ; since I'm using a volume knob as an ON/OFF switch, sometimes, during my performance, I have to lower the volume (meaning that the value is not 127). Is there a way that StreamByter could follow the volume knob value so when the Note ON trigerred, once released, StreamByter gives it the value it was before the Note was pressed? I hope my question is clear.
Thank you very much for your help.
|
|
nic
Soapbox Supremo  
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Sept 28, 2014 18:13:38 GMT
Hi elektrodave, Your controller is probably sending note on+0 velocity instead of note off so your first rule is trapping that. I would try: 90 4B 01-7F = B0 15 00 N0 4B = B0 15 7F The first rule will remap all note ons with a velocity to zero volume. The second rule maps all note events (on or off) to max volume, but since we have already remapped all note ons to a controller in the previous rule then only note offs will be matched. It's a very subtle way of writing a rule! As for the second question, no the Stream Byter isn't smart enough to preserve values from prior calls and use them later, sorry. Regards, Nic.
|
|
|
Post by elektrodave on Sept 28, 2014 21:55:41 GMT
Merci beaucoup Nic pour ta réponse rapide. It works perfectly. Again, just want to mention how much MidiBridge is great to adapt all kinds of MIDI messages to my personal needs. Cheers from Montreal.
|
|