TreeFallSound/pi-stomp

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

rreichenbach opened this issue · 1 comments

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.

Closing now that enhancement is commited