Set value not passed to parameter
d.healey last edited by
I'm using the
slider.setValue()function to set the value of a slider using a CC but this value isn't being passed to the linked parameter.
setValue()doesn't call the onControl callback for safety reasons, it just stores the value. If you're using an inline function as control callback, just call it manually after
d.healey last edited by d.healey
@christoph-hart Well I have a slider linked to an envelope's attack, it has no ui control callback, so to get it to update from the onController I'd need to get the envelope in a variable, and then setup a control callback for the slider, seems to defeat the purpose of using the parameter linking in this case though. What about having a
slider.changed()function, like we have for panels?