Saving and Recalling full VST state
I am looking into Max, as an alternative to Usine. The first issue I've encountered that doesn't seem to have a correlary in Max deals with how I load Kontakt patches.
Usine has a preset manager that will save the entire state of a VST plugin, not just the settings of its parameters. In the case of Kontakt, I can load an NKM, and store a preset for the patch containing Kontakt, then load another NKM, and store the state of the patch to another preset. When I switch presets, the appropriate NKM is loaded. This is great for live use, as even with 8 gb in my computer, I don't have room for all the sample starts for all the sounds I like to have access to live. Actually if Usine were 64 bit, (is max?) I might actually have enough room. But it's nice to keep adding presets and know I will never run out of RAM.....
Has anyone built anything like this for Max? It seems possible, but doesn't look like something the pattr object can handle. And AFAIK the complete VST state is not something that is exposed by the vst~ object.
Thanks in advance for any clues!
I guess I don't understand the difference between saving the state and saving all the parameters. I built an environment in Max to replace my use of Apple MainStage and recently integrated VST support into it (by wrapping the Max implementation of VSTs). I have certainly used it to load different Kontakt patches so I'm not sure what you are looking for. I am not using the pattr stuff (still dont quite understand them) and instead i just save to a file.
Details are on my blog (at deskew.com) and I'm happy to provide my latest snapshot to anyone interested. I have not had a chance to verify they work on max 6 yet
After I posted this, I read your blog. If your techniques are allowing you to save and load Kontakt with the appropriate NKM, that is great news!
I would love to look at your patches, and could do some testing of them on 6, as that is what I'm using... from everything I've seen, your work in Max is the closest to the kind of thing I'm trying to do. I always wondered about mainstage, but I'm on PC, so it's not really an option.
cheers,
-eric
Your approach seems to be really interesting. I didn't read all of your blog yet and don't know if there's a link to your patches but if not, I would be interested in seeing them.
Thanks in advance.
Yes, the code can be downloaded from http://deskew.com/downloads.html
Obviously, you use it at your own risk. It's work in progress and will change over time.