TreeFallSound / pi-stomp

pi-stomp is a DIY high definition, multi-effects stompbox platform for guitar, bass and keyboards
https://treefallsound.com
GNU General Public License v3.0
106 stars 19 forks source link

[Enhancement] Allow footswitches to change the preset (aka snapshot) to a fixed preset index #35

Closed rreichenbach closed 2 years ago

rreichenbach commented 2 years ago

The 'preset' property of the footswitch object in a config file (default_config.yml or pedalboard config.yml) allows the footswtich to change the current preset to the next preset (value = UP) or previous preset (value = DOWN)

As requested in the pi-stomp forum, it would be nice to alternatively allow a fixed number to be specified for the preset property so that clicking the footswitch changes the preset to that exact preset index (starting from 0 up to the number of presets - 1)

If the pedalboard doesn't have a preset with the specified index, clicking has no effect.

rreichenbach commented 2 years ago

Closing now that enhancement is commited