loadbang -> recall message -> pattrstorage not working, even with deferlow
I am using pattstorage and autopattr to store the state of a patch. I want to save and recall the state automatically, so I have a closebang that triggers a store messsage, and a loadbang that triggers a recall message.
Now here's the weird thing:
When the patch opens, it does not recall the state. However, manually triggering the *same* message that the loadbang is supposed to send works fine. (The closebang works too.)
I have tried using loadbang -> message -> deferlow -> pattrstorage, but it does not seem to work.
The patch is here: http://www.villamil.org/soft/video_player_v3.zip
Weird. Replacing (deferlow) with (delay 500), in exactly the same place, works fine.
I thought (deferlow) was preferred, but in this case it did not work at all.
In this case the dumpout comes in very handy. It reports when reading the file is done.
_
johan
Thank you! Very handy technique. So it seems that pattrstorage is read asynchronously...