KONTAKT - Get the value of slider after mouse button release

VST, AU, AAX, CLAP, etc. Plugin Virtual Instruments Discussion
Post Reply New Topic
RELATED
PRODUCTS
Kontakt

Post

Hi everybody

Anybody know if on a script is possible to make a slider (or knob) get the value after the mouse button release, not while its moving the control as it does by default? Something like does the ui_ update when a control is moved (it sync the knob in perfview not while its moving, but only when button of the mouse is release).

Cheers

Post

There's no way to detect mouse button release for slider movement. The same UI callback is executed when you click on the control, when you drag it, and when you release the mouse button, and there are no commands to discern between those 3 actions.


By the way, using ui_update is not advised, you can consider it deprecated and only there for backwards compatibility with some very old scripts. Having too many things happening in ui_update can unreasonably increase the CPU usage.

Post

That's is what I though. Thank you for the confirmation and the extra info :)

Post Reply

Return to “Instruments”