Sampler API parameters list changing based on parameters enabled
Sampler API parameters list changing based on parameters enabled
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.
-
- Posts: 6049
- Joined: Mon May 15, 2006 12:15 pm
Re: Sampler API parameters list changing based on parameters enabled
Bookmarking for investigation.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1
MacStudio M1Max 32Go OS 12.3.1
Re: Sampler API parameters list changing based on parameters enabled
Not sure i will get any answer about this..
stumbled upon the same problem ?
-
- Posts: 6049
- Joined: Mon May 15, 2006 12:15 pm
Re: Sampler API parameters list changing based on parameters enabled
No, I'm just curious !
I did check with M4L, and I can confirm in this context that indeed :
- Enabling "sections" does increase the amount of params
- Disabling sections that were previously enabled does not reduce the amount of params.
I was too lazy to check if the ids would change when you do that, sorry ! And that would surprise me, to be honest. But if you have a way to demonstrate it, then you should definitely reach the support to let them know. I can understand that it can be extremely annoying !
I did check with M4L, and I can confirm in this context that indeed :
- Enabling "sections" does increase the amount of params
- Disabling sections that were previously enabled does not reduce the amount of params.
I was too lazy to check if the ids would change when you do that, sorry ! And that would surprise me, to be honest. But if you have a way to demonstrate it, then you should definitely reach the support to let them know. I can understand that it can be extremely annoying !
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1
MacStudio M1Max 32Go OS 12.3.1
Re: Sampler API parameters list changing based on parameters enabled
I can confirm the ids change because my app list automatically every parameters when a new device is selected.
New sections are being added in predefined orders in the parameters list it seems. So when you add one it "pushes" all the previous parameters further down the list.
I don't think it's a bug because when you map sampler parameters to rack macros they always work even when adding/removing sections but if you remove the macro mapping i can see that the parameter id/number has indeed changed.
It's really a strange decision if it's intentional, all the other devices i tried to do UI for so far did not have that behaviour.
Working on the next update of the app with linked session views and other cool stuffs![Smile :)](./images/smilies/icon_smile.gif)
https://hksamples.gumroad.com/l/hk_live_remote
Coucou du sud de la France![Wink ;)](./images/smilies/icon_wink.gif)
New sections are being added in predefined orders in the parameters list it seems. So when you add one it "pushes" all the previous parameters further down the list.
I don't think it's a bug because when you map sampler parameters to rack macros they always work even when adding/removing sections but if you remove the macro mapping i can see that the parameter id/number has indeed changed.
It's really a strange decision if it's intentional, all the other devices i tried to do UI for so far did not have that behaviour.
Working on the next update of the app with linked session views and other cool stuffs
![Smile :)](./images/smilies/icon_smile.gif)
https://hksamples.gumroad.com/l/hk_live_remote
Coucou du sud de la France
![Wink ;)](./images/smilies/icon_wink.gif)
Re: Sampler API parameters list changing based on parameters enabled
Thats a cool app, one of my ClyphX Pro users sent me a link a while ago!
Cheers
D
Cheers
D
Re: Sampler API parameters list changing based on parameters enabled
Thanks!
Yes i saw an isotonikstudios download pass by
![Smile :)](./images/smilies/icon_smile.gif)