Auto configuring au/vst plugin parameters via Max4Live/js

Lucas Hui's icon

Hi

Not sure if this is even possible since I'm not sure plugin parameters are available to the Live API until configured, but just wondering if anyone has any experience or tips on addressing plugins that don't have a default parameter/midi configuration from a max4live device/js?

Obviously plugin parameters are easily listed when loaded directly into max, and most plugins have easily accessible parameter values that can be listed (via a parameters function in code), but it just seems I may be missing something when trying it from a max4live device that I am building. I want to make it compatible with as many plugins as possible, and am looking for a solution that doesn't involve hosting the plugin within the max device.

I can think of a few long winded and unefficient possible solutions, but just thought I'd ask and see if anyone has any recommendations or can point me towards something.

Thanks very much!

double_UG's icon

you can modify the option.txt with "PluginAutoPopulateThreshold"
https://help.ableton.com/hc/en-us/articles/209772865-Options-txt-file

so all parameters are available. This only works now with VST2. Then acces the the parameters with M4L.

Like the device. Put the Cloner right the the vst and press "get"

Parameter Cloner 05.amxd
amxd 95.00 KB

Lucas Hui's icon

thanks DOUBLE_UG, we ended up going with route of hosting the plug-in inside max just for flexibility, as I know ableton caps the number of parameter ids (some plugins need 100s of ids to control all of it). ended up writing some js that gathers all of the plug-in parameters which was a lot easier to manage big plugins. If anyone wants the solution I can post it here

CHRISTOS ADAMOS's icon

Hi Lucas
Can you post your js code here?
I'm looking for something similar and i'm reaaly interested
Thanks!