streambyter_set_channel_by_note

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
streambyter_set_channel_by_note [2019/05/19 07:05] wimstreambyter_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:
 +====== StreamByter: Set Channel by Note ======
 +
 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. 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.
  
Line 20: 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 43:
 END END
 </code> </code>
 +
 +{{tag>StreamByter midi_scripting}}
  • streambyter_set_channel_by_note.1558213526.txt.gz
  • Last modified: 2019/05/19 07:05
  • by wim