simple question, maybe hard to solve (?)
I have a list of key-value pairs.
Key is type int,
value is of type float
stored in a coll-object it looks for example like this:
Code: Select all
4, 0.; 5, 0.43; 7, 0.415; 6, 0.4725; 10, 0.;
Should be simple to do but somehow i have the feeling something's missed here.
If this is the only way i was allready thinking to write a "dummy vst plugin" which i would instantiate within the m4l patch using a second vst~ object.
The only purpuse of this vst plugin would be to provide a "huge" number of parameters which i set and request when i need the data.
However, this is not a clean solution. A clean solution would be an Attribute "Store in Host" for the coll object. There is allready a "Store in Patcher" Attribute but this is a difference and not what i need.
Solution i found but seems to be insufficient for me
I found one suggestion to use a matrixctrl and pattrstorage object but matrixctrl can only store a very limitied number of states per cell. But I need to store a float value per cell. So this seems not to work for me since i didn't find a way to set datatype of matrixctrl.cell to float.
I wanna use the vst~ object to load a plugin whichs name is given in a textedit object. The problem here is that the the storing of the plugin parameters seem to work only when i give the name of the vst plugin as a parameter in the vst~ object. But since i have a textbox where the user can enter the plugin name the plugin resets to initial values everytime i load the m4l device. This is why a created some handlers to store and restore the parameters. This basically works, it's just the parameters need to be stored in the live set (without the user require to take actions like pressing save buttons or selecting xml file paths and so on)