Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
streambyter_set_channel_by_note [2019/05/19 07:01] – created wim | streambyter_set_channel_by_note [2019/11/05 10:44] (current) – Added the missing code to display current Midi Channel in Right hand label. spookyzoo | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Script for changing channels from a keyboard that doesn’t have onboard channel change, such as the NanoKEY Studio. Play a note from A7 to C8 to change the channel. | + | ====== StreamByter: |
- | <WRAP code> | + | Here’s a StreamByter script for changing channels from a keyboard that doesn’t have onboard channel change, such as the NanoKEY Studio. Play a note from A7 to C8 to change the channel. |
+ | < | ||
# Script to change midi channel from keyboards that | # Script to change midi channel from keyboards that | ||
# don’t have the ability to change it on-board | # don’t have the ability to change it on-board | ||
Line 21: | Line 22: | ||
MAT L1 = L0 + 1 #to display channel starting at 1 | MAT L1 = L0 + 1 #to display channel starting at 1 | ||
SET LB0 SCH. | SET LB0 SCH. | ||
+ | SET LB1 L1 +D | ||
XX = XX +B #block A7 or above from sounding | XX = XX +B #block A7 or above from sounding | ||
END | END | ||
Line 40: | Line 42: | ||
SET LB1 M2 +D | SET LB1 M2 +D | ||
END | END | ||
+ | </ | ||
- | </WRAP> | + | {{tag>StreamByter midi_scripting}} |