StreamByter: GrooveRider GR-16 output mapper

GrooveRider GR-16 outputs midi on separate channels per pad. This StreamByter script changes the MIDI output from GR-16 to configurable notes and channels. The script below maps the bottom row of pads to to RuisMaker on MIDI channel 10, but can be configured for other apps by changing the note and channel mappings.

# GR-16 pad to note converter

# Enter the note substitution (in hex) for each pad in I0. 
# 00 means no substitution. 
# this one is for RuisMaker on pads 8-16
ASS I0 = 00 00 00 00 00 00 00 00 31 33 36 38 3A 3D 3F 42

# Enter the channel substitution (in hex) for each note in J0
# Only 00 (no substitution) through 0F (channel 16) are accepted.
ASS J0 = 00 00 00 00 00 00 00 00 09 09 09 09 09 09 09 09

ASS L0 = MC

IF IL0 != 00
  ASS M1 = IL0
END

IF JL0 != 00
  IF JL0 <= 0F
    MAT L1 = MT + JL0
    ASS M0 = L1
  END
END