How to save state of a complex patch?

gpvillamil's icon

I would like to save and recall different states of a patcher with multiple instances of an embedded patcher (using bpatcher).

I've noticed that using the autopattr + pattrstorage combination does not seem to work - each individual bpatcher appears as an object in the pattrstorage list, but the values *within* the bpatcher are not saved & restored.

Is there something major I'm missing with how autopattr and pattrstorage work?

I've attached the patcher and bpatcher to this post. The main patch is called chaos mode v3, and the embedded is called chaos mode layer UI.

When you enter a BPM, fill in the number boxes for a row, and select any menu mode other 'off' you should see messages like this "/layer2/clip4/connect 1". (This works - my concern is with state saving and loading.)

gpvillamil's icon

Cool, this helps.

How/why did you change the filenames in the bpatcher?

Does the parent patch work unchanged?