Max 5 (I have my reasons)
I want to store the parameters of a VSTi (Linplug Alpha for now) as part of the settings of a patch using pattrstorage. I'm exposing the settings to autopattr using [textedit]. That bit's working fine.
Some of the parameters inside the VSTi don't have a default cc attached to them, but you can use the midi learn function to change that.
Here's the problem. [vst~] reports there being 68 parameters in Alpha. These are the existing default assignments, which are all in use. So to use the midi learn function to assign controllers to the additional parameters, I need to send controller/value pairs from cc69 upwards. But [vst~] doesn't respond to them! It seems that it won't accept controllers outside of the predefined (by the VSTi) range.
Is there any way around this?
Also rather odd (or perhaps not) is that the predefined plugin CC assignments bear no relationship to the CC numbers I have to send from max to control those functions! Eg - Osc 1 Waveform 1 is assigned to CC20 in the VSTi, but is controlled by CC1 from max.
(Edit - Ah - this relates to the order of the parameters when sending the params message to the VSTi. So I guess that what I'm sending aren't midi CC/value pairs, but parameter/value pairs)