Skip to content

Instantly share code, notes, and snippets.

@albedozero
Created April 5, 2022 05:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save albedozero/44263e13e538492db084c6400f3097b8 to your computer and use it in GitHub Desktop.
Save albedozero/44263e13e538492db084c6400f3097b8 to your computer and use it in GitHub Desktop.
bank file that routes CC messages to increment/decrement patches or select a specific patch
# a demo bank that shows how CCs can be used to select patches
router_rules:
- {type: cc, par1: 45, par2: 1-127=1, patch: select} # CC45 selects patch 1 (Piano)
- {type: cc, par1: 46, par2: 1-127=2, patch: select} # CC46 selects patch 2 (Rhodes)
- {type: cc, par1: 47, par2: 1-127=3, patch: select} # CC47 selects patch 3 (FM Piano)
- {type: cc, par1: 48, par2: 1-127=4, patch: select} # CC48 selects patch 4 (Vibes)
- {type: cc, par1: 49, par2: 1-127, patch: -1} # CC49 decrements patch
- {type: cc, par1: 50, par2: 1-127, patch: 1} # CC50 increments patch
patches:
Piano:
1: FluidR3_GM.sf2:000:001
Rhodes:
1: FluidR3_GM.sf2:000:004
FM Piano:
1: FM Piano.sf2:000:000
Vibes:
1: FluidR3_GM.sf2:000:011
Tonewheel:
1: FluidR3_GM.sf2:000:017
Funk Guitar:
1: FluidR3_GM.sf2:008:028
Synth Bass:
1: FluidR3_GM.sf2:000:038
Strings:
1: FluidR3_GM.sf2:000:048
Synth Strings:
1: FluidR3_GM.sf2:000:051
Synth Voice:
1: FluidR3_GM.sf2:000:054
Synth Brass:
1: FluidR3_GM.sf2:000:062
Warm Pad:
1: FluidR3_GM.sf2:000:089
Sweep Pad:
1: FluidR3_GM.sf2:000:095
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment