Sampler API parameters list changing based on parameters enabled

Discuss Live-ready controllers other than Push.
Post Reply
dr_kant
Posts: 23
Joined: Wed Jan 05, 2005 9:17 am
Location: France
Contact:

Sampler API parameters list changing based on parameters enabled

Post by dr_kant » 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.

chapelier fou
Posts: 6025
Joined: Mon May 15, 2006 12:15 pm

Re: Sampler API parameters list changing based on parameters enabled

Post by chapelier fou » Mon Jan 29, 2024 8:27 pm

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

dr_kant
Posts: 23
Joined: Wed Jan 05, 2005 9:17 am
Location: France
Contact:

Re: Sampler API parameters list changing based on parameters enabled

Post by dr_kant » Wed Jan 31, 2024 7:33 am

chapelier fou wrote:
Mon Jan 29, 2024 8:27 pm
Bookmarking for investigation.
Not sure i will get any answer about this..
stumbled upon the same problem ?

chapelier fou
Posts: 6025
Joined: Mon May 15, 2006 12:15 pm

Re: Sampler API parameters list changing based on parameters enabled

Post by chapelier fou » Wed Jan 31, 2024 8:46 am

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 !
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

dr_kant
Posts: 23
Joined: Wed Jan 05, 2005 9:17 am
Location: France
Contact:

Re: Sampler API parameters list changing based on parameters enabled

Post by dr_kant » Wed Jan 31, 2024 10:28 am

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 :)
https://hksamples.gumroad.com/l/hk_live_remote

Coucou du sud de la France ;)

S4racen
Posts: 5841
Joined: Fri Aug 24, 2007 4:08 pm
Location: Dunstable
Contact:

Re: Sampler API parameters list changing based on parameters enabled

Post by S4racen » Wed Jan 31, 2024 10:47 am

Thats a cool app, one of my ClyphX Pro users sent me a link a while ago!

Cheers
D

dr_kant
Posts: 23
Joined: Wed Jan 05, 2005 9:17 am
Location: France
Contact:

Re: Sampler API parameters list changing based on parameters enabled

Post by dr_kant » Wed Jan 31, 2024 10:51 am

S4racen wrote:
Wed Jan 31, 2024 10:47 am
Thats a cool app, one of my ClyphX Pro users sent me a link a while ago!

Cheers
D
Thanks!
Yes i saw an isotonikstudios download pass by :)

Post Reply