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.


  • administrators

    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
 

1
Online

277
Users

739
Topics

4.8k
Posts

Looks like your connection to Forum was lost, please wait while we try to reconnect.