Set value not passed to parameter



  • 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.



  • Yes, 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 setValue.



  • @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?


Log in to reply
 

9
Online

546
Users

2.0k
Topics

16.0k
Posts