|
Post by karramba on Jan 2, 2014 20:50:49 GMT
Dear Nic! I'm using SByter for realize this task
B = A (x) C = A (y) A (x , y) = D
with this messages
N0 02 = XX 00 XX +C N0 01 = XX XX 01 +C N0 00 01 = XX 04
but it can't work. May be my SB sript can't get N0 00 01 message I want make something like SHIFT key for optimizing of workspace on my MIDI controller and doubling function of it keys. Scenes seems useful feature for my task but I want make it simplier. Can you help me with this plz?
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Jan 3, 2014 10:56:11 GMT
Hi karramba,
Unfortunately the Stream Byter isn't smart enough to merge those two cloned note events (00 and 01) into the one note which is I think what you want. I have been trying to think of a way that you could achieve a shift key with just rules and I just cannot. Doing it with scenes is the only way and it is probably less complicated. Here is what you do step by step to use the lowest C note as a SHIFT key:
1. In Preferences>Option set Scene Channel to 16. I have assumed your controller is set for channel 1.
2. Use the Stream Byter on your controller input, add this rule and press 'Install Rules'
# switch to shift scene when C-2 held 90 00 01-7F = CF 01 +C
3. Go to the Scene Manager and save to Scene 000, call it 'Normal'
4. Go back to the Stream Byter and change the rules to this:
# switch back to normal scene when C-2 released 90 00 00 = CF 00 +C 80 00 = CF 00 +C
# add your mappings or whatever here that you want when # shift is active
5. Go to Scene Manager and save to Scene 001, call it 'Shift'
Now, when you press low C and hold it down, the scene switches to the 'Shift' scene and any other events will be mapped in the shifted version of the Stream Byter. When you release the C key, the scene switches back to the 'Normal' one. If you don't want the C key just change the rules or you could use a controller also to shift if you prefer.
Hope that helps.
Regards, Nic.
|
|
|
Post by karramba on Jan 3, 2014 11:48:40 GMT
muuuuuuuuch thanx for your attention Nic ! by the way, what mean "90" and "80" in the start of rule strings? Is it "note on" and "note off" messages on MIDI channel 1 ? What bytes I must write for channel 2 or 3 or etc ? Cant understand this from SB manual
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Jan 3, 2014 13:00:12 GMT
90 means note on, midi channel 1 80 means note off, midi channel 1
The first byte is the event type, 9 = note on, 8 = note off, B = controller, C = program change The second byte is the midi channel (in hex 0 to F), so
91 means note on, midi channel 2 82 means note off, midi channel 3
And to confuse things a little:
9F 00 means note off, channel 16 (because note on, velocity 0 means note off) 8F also means note off, channel 16
Regards, Nic.
|
|