Sampler API parameters list changing based on parameters enabled
Posted: Mon Jan 29, 2024 5:45 pm
Hello!
I was trying to map the sampler parameters within a remote script for a touchOSC control surface and i found out that the parameters list that can be used with the sampler device is changing anytime you select a enable a new parameter "group" in the device. Like enabling the filter, OSC, P.Env etc ...
For example when you drag a sampler device without any parameters enabled there is a total of 42 parameters, if i click on Filter enable the list become a 69 parameters list. The filter parameters has been added to the automatable parameters ... but this changes the parameters id of the previous state so the controller is no longer controlling the parameter you set up :/
What is worse is when you deselect that on/off parameter, the parameters list does not go back to the previous state right away, only if you close and re-open the project..
This happens with Osc, P.Env, Filter, Aux, LFO 1, LFO 2, LFO 3 if i'm not mistaken.
So this gives me 128 parameters list possibilities based on wich parameter is enabled or not in the sampler..
How can i manage that ?
If i could easily setup the CC number of the message in touchosc i could just search for the parameter name and assign the correct cc/parameter_id but that's hard coded for now.
I was trying to map the sampler parameters within a remote script for a touchOSC control surface and i found out that the parameters list that can be used with the sampler device is changing anytime you select a enable a new parameter "group" in the device. Like enabling the filter, OSC, P.Env etc ...
For example when you drag a sampler device without any parameters enabled there is a total of 42 parameters, if i click on Filter enable the list become a 69 parameters list. The filter parameters has been added to the automatable parameters ... but this changes the parameters id of the previous state so the controller is no longer controlling the parameter you set up :/
What is worse is when you deselect that on/off parameter, the parameters list does not go back to the previous state right away, only if you close and re-open the project..
This happens with Osc, P.Env, Filter, Aux, LFO 1, LFO 2, LFO 3 if i'm not mistaken.
So this gives me 128 parameters list possibilities based on wich parameter is enabled or not in the sampler..
How can i manage that ?
If i could easily setup the CC number of the message in touchosc i could just search for the parameter name and assign the correct cc/parameter_id but that's hard coded for now.