2 # example for an sb16ctrl file
4 # comments start with hash character '#' (obviously...)
5 # Numbers can be octal (0...) or hex (0x...) or decimal.
8 # first, reset the translation table with command 'r'
11 # then load a few translations.
13 # t OldBankMSB OldBankLSB OldProgram NewBankMSB NewBankLSB NewProgram
15 # All values are in the range of 0-127 or 255.
16 # For old values, 255 means "match any".
17 # For new values, 255 means "don't change".
19 # When deciding whether a program change is to be remapped, these
20 # remappings are checked first to last, and the first applicable remap
23 # This would map all bank changes to bank 0/0
24 # t 255 255 255 0 0 255
25 # it's commented out, otherwise none of the below changes would
26 # be checked, as this one matches anything.
28 t 255 255 0 0 0 19 # remap piano to church organ
29 t 255 255 255 0 0 0 # everything remaining -> piano
31 # now show the number of translations that have been loaded
34 # and enable GS/GM mode
35 m 0xF0,0x41,0x10,0x42,0x12,0x40,0x00,0x7F,0x00,0x41,0xF7