Forums > MaxMSP

Vst params to Pattrstorage

June 14, 2013 | 12:04 pm

Is there an "easy" way to expose vst parameters to pattrstorage?
The way i try it is with "get -4" to get the number of parameters and then uzi–>get $1… and so on… is there a better way ?
Nikolas


June 15, 2013 | 10:20 pm

This doesn’t use [pattrstorage] but will save parameter names and values using [umenu] and [coll], and allow users to set and store those values without opening the vst window.
I used Apple AU Matrix Reverb for the example.
I can think of a few ways to do this using [pattrstorage], but not sure your exact goal. If the plan us to have users create and save a variety of recallable vst settings from within Max using [paatrstorage] the first step might be to make a list of available parameters along with their ranges and create matching flonum objects whose range is limited to a paramater range. Then it’s just a matter of creating the UI and naming the flonum objects so [pattrstorage] can store their values.

– Pasted Max Patch, click to expand. –

June 16, 2013 | 1:21 am

here’s a js wrapper that you could hack

http://olilarkin.blogspot.co.uk/2009/12/olvstpattr-vst-wrapper.html


June 16, 2013 | 2:36 am

Thank you both for your answers!
What i want is to save the state of a vst together with all the other controls on my patch so when i load a preset from pattrstore, the vst will be at the state it was saved.
I didn’t have the time to properly check and experiment with your patches, will do soon and get back to you!
Thank you again!
Nikolas


Viewing 4 posts - 1 through 4 (of 4 total)