pattrstorage interpolation, how to exclude objects

hanstutschku's icon

While interpolating between two presets I would like the menu
object to be excluded from the interpolation.
Furthermore the menu value of the target preset should be recalled
immediately before the faders start the interpolation.
(see attached patch)

Any solutions (preferably not involving javascript)

162.pattrstorage-question.maxpat.zip
zip
Floating Point's icon

I think you just need to _not_ give the menu a scripting name, and then it won't be included.

Emmanuel Jourdan's icon

Hey Hans,

If you double click on the pattrstorage object, you can change the interpolation to threshold this should do it.

hanstutschku's icon

Hi Emmanuel, that's great. Is there also a message I could send to the pattrstorage object to set the interpolation threshold for certain variables.
My example patch was just illustrating the problem. My real patch has hundreds of parameters and double-clicking all the different pattrstorage objects to set this argument manually would be difficult.
Thanks, Hans

hanstutschku's icon

ignore my last message, just figured it out

Emmanuel Jourdan's icon

just for the record (and a future research on the forum), yes indeed you can send a message to change the interpolation with the interp message.

You might also want to set the changemode attribute to make sure that the value isn't sent multiple times.