Struggling to figure out how to use a button to switch between RR groups. Does anyone have a snippet?
Working on a couple of LAF delay snippets that might be helpful for people, just to say thanks for everyone being such a great help :)
const var Sampler1 = Synth.getSampler("Sampler1");
Sampler1.enableRoundRobin(false);
const var ts = [1, 2];
inline function onButton1Control(component, value)
{
Sampler1.setActiveGroup(ts.indexOf(Sampler1, 2, 1));
};
Content.getComponent("Button1").setControlCallback(onButton1Control);****bolded text****