I don’t think I’ll have time this weekend to try it as it looks like I’ll be working this weekend. But I will give it another shot when I can, probably after next Wednesday.
For anyone who doesn’t want to wait that long, here’s the basic setup:
A1) Make a scene (I use #8) that only locks slice #1
A2) Make a scene (#16) that only locks slice #64
A3) (Optional) get the current scenes, crossfader position, and slice # via the CC dump command. Update this whenever receiving a scene change from the OT MIDI out.
Now, when a note is received:
B1) Convert the note number from a range of 64 values (whatever key range you want, e.g. 0-63, 32-85, 64-127, etc) to 0-127.
B2) Set scene 1 to the scene created in step A1
B3) Set scene 2 to the scene created in step A2
B4) Send a crossfader CC with the value from step B1
B5) Send a slice# CC with the value from step B1
B6) Send a note on for that track.
B7) (Optional) set scenes, crossfader, and slice to those received in step A3 to reset the scenes and crossfader to where you were. This makes things less awkward.
B8) Be sure to send a note off. This part I haven’t fully worked out yet. There’s some issues with it that are kind of hard to explain but if you play with it you’ll know what I mean.
Bonus points (not tried yet): Use the note number and velocity from step B1 to create values for other CCs (filter, volume, etc.)