Forums > MaxMSP

Autopattr weird startup problems

March 17, 2010 | 9:37 am

Hi,

i made a patch which has to start different sounds and videos on specific cues. Every cue is stored by using the pattrstorage object. However, when opening the patch there should be no sounds playing and no video. But since i have used the autopattr object, it seems the patch ‘remembers’ the last settings and plays whatever was playing when i closed the patch. I already tried to use loadbangs, closebangs and i have used a closebang to delete the 0 preset and write the xml file….but the patch still plays samples and videos from the previous session when closing and opening again. Hopefully somebody knows what problem i mean and has similar experience and a solution! Thanks.


March 17, 2010 | 4:10 pm

As far as I know this is a consequence of using the autopattr object – preset 0 will store the state of objects you are tracking with autopattr the last time you saved the patch. Not sure if there’s any way around this.


March 24, 2010 | 9:56 am

I have found the solution: the attribute ‘autorestore’ of the pattrstorage object has to be set to 0. This is default set to 1, which makes it remember the last settings before closing your patch.


March 24, 2010 | 8:51 pm

Cool, good to know.


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