Autopattr weird startup problems

Roel van Doorn's icon

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.

Jesse's icon

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.

Roel van Doorn's icon

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.

Jesse's icon

Cool, good to know.