multiple pattrstorage objects and bpatcher instances


    Oct 14 2020 | 10:27 pm
    Hello,
    in the context of pattrstorage is it possible to subscribe to objects in a bpatcher? I need several pattrstorage objects in the main patch (red/orange/blue) and I also need several instances of bpatchers (grey) in order to interpolate between different presets for separate groups of objects (abc uvw ... ). It is unclear to me:
    a) What is the syntax for "subscribe ?????" to subscribe to the different number objects in the bpatcher instances? Or is this totally the wrong way to go? Do I need pattrhub instead of pattrstorage in the bpatchers? b) Why do the scripting names of both bpatcher instances show up in the client windows of the red and orange pattrstorages although they are not subscribed? And does this mean these pattrstorages affect the bpatchers somehow?
    How to subscribe to the 2x3 number objects in the 2 bpatcher instances? I want to interpolate, save and recall their values from the main patcher.
    How to subscribe to the 2x3 number objects in the 2 bpatcher instances? I want to interpolate, save and recall their values from the main patcher.

    • Oct 15 2020 | 2:07 am
      if i understood you correctly... i found the syntax within the "scope" tab of the 'pattrstorage' helpfile... using the scripting names of the bpatchers themselves:
      (also, if you don't need them for anything else, you can do away with the 'pattrstorage' and 'autopattr' within the bpatcher file itself, just prename the number-boxes with scripting names, and refer differently to them by the bpatcher's scripting-name as the 'parent' inherited-from within the subscribe-syntax (example: 3rd number-box down in the "secondBPatcher" would be referred to with subscribe message: "subscribe secondBPatcher::number[2]"))
      hope i understood it correctly 🍻
    • Oct 16 2020 | 5:56 am
      Thank you Raja, for taking a look. I think I understand now why it didn't work when I tried :: syntax. I used the pattrstorage name instead of the bpatcher scripting name.