Hi,
Please find the attached project.
The first two presets are marked for “always active”, so will never be deselected.
Preset 1 handles the management of the other presets.
Translator 1.0 takes a control change on MIDI CH 1 with CC12 and takes its value into the local variable qq.
The rules of translator 1.0 scale the values of 0-127 for input to 0-9 for output (10 songs).
We then add an offset of ga (2) because the first 2 presets are not in scope for management. This will effectively switch from presets 2-11 using the local variable “tt”.
The outgoing action selects the given preset but disables all other presets.
Again preset 0 and 1 are not disabled because that are set as always active.
I also added a rule it translator 0.2 to set the offset in global variable “ga”.
And translator 0.3 to set to Song1 (preset 2) when the project starts. Perform “Init” is the trigger.
Select-Preset-by-Number.bmtp (2.5 KB)
Steve Caldwell
Bome Customer Care
Also available for paid consulting services: bome@sniz.biz