Hey there,
I made a script where one knob controls two other ones. The problem is that even tho the knob values in the interface change, the values in the module tree don't.
Content.makeFrontInterface(600, 600);
const var Knob1 = Content.addKnob("Knob1", 10, 20);
Knob1.setRange(0, 1, 0.01);
Knob1.set("text", "Main Knob 1");
const var Knob2 = Content.addKnob("Knob2", 10, 70);
Knob2.setRange(0, 1, 0.01);
Knob2.set("text", "Linked Knob 2");
const var Knob3 = Content.addKnob("Knob3", 10, 120);
Knob3.setRange(0, 1, 0.01);
Knob3.set("text", "Linked Knob 3");
inline function onKnob1Control(component, value)
{
Knob2.setValue(value);
Knob3.setValue(value);
}
Knob1.setControlCallback(onKnob1Control);
HiseSnippet 1144.3ocyW0raabCDlqjVmHkZmlBihdbg.JfLfggVozjBXDXEKY0JDKGAKGidKfdWtVDhKoxtTIVsn26qPt0Wj9TzSsm5iPeCZGxc09isrrhZaP4AgkyvgeeyPNyPMHP3PBCEAHixmMaBAY7IlCmwkiZOBS4ndcPFaY1GGJIAVQhNb1DbXHwEYXT7aTBLJWBoG+4AGhYXtCIUDBctf5PNl5SkoRGz5ETFqK1kbF0OypebqdNBdaASLE3SQy5nIXmw3KImfUKqfIxXiiboRQvPIVRBg0bnvc1vQh2wiV+4zP5ELhZhMZHrQQhQsGQYtCl6qgHjQoAoddwHOeay9TWZh7zHvmpUXkZQ1XfQgkQI6O.JYjgRkhnziLG5DPmHS0n3yCL6wgCDOLDpyRkn0hJ7KELaKfUvk64iGS5F.SRrn1SpWeWK3mc1uRkJP7NTZ8Vbf0K3hKrsdl0bKwttJQ0ppUTcWKavrFJqzB1KjHOEyujTCDauqU88pauy9VoJqUURtRB1UsODG0aukc0E.ZiaCzFwf9z4f1XYf1HOnGS4iItQv1PCadTadan1LFU6Des4xfs4sCaSMrTNixIVdS4NRpfaI35PjB6.AqlivehfCrXWfZrojcp7CUrfQhKctRZsHc.ly00bA59QH1lD+iAnMlwt.xhpkG2c1OCgNQHIujWSAcYXSrttJOuEpKdqXjfEpVkaGrLCqwm5eAI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