loadbang -> recall message -> pattrstorage not working, even with deferlow

    Jan 06 2010 | 5:49 am
    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.

    • Jan 06 2010 | 3:52 pm
      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.
    • Jan 06 2010 | 4:04 pm
      In this case the dumpout comes in very handy. It reports when reading the file is done.
      _ johan
    • Jan 06 2010 | 4:27 pm
      Thank you! Very handy technique. So it seems that pattrstorage is read asynchronously...