I am looking for a system to transmit data between a main patcher and all voices of a poly without relying on inlets. Using send and receive objects one can transmit data to all voices but a triggering must occur in the main patcher any time the data are needed (mostly after the update of the patcher loaded by poly~).
Using value the patcher loaded by poly~ can grab the data (when loaded for instance) but the data are not updated automatically whenever they are changed in the main patcher.
Therefore I am using a combination of value and send/receive. Any time a value is updated in the main patcher, a global "update" send/receive combination is used from the main patcher to the subpatcher, forcing the subpatcher to grab the data out of the several value objects. When the subpatcher is loaded by poly~ it does also grab the data using a loadbang.
However I was wondering if there was a more efficient way to do this kind of thing. Maybe a magical external, combining strengths of both send/receive and value?
Why don’t you use pattr? You can bind from the poly~ patch to some objects in the main patch.
Interesting idea, but doesn’t it make a problem to have a multiple binding due to polyphony?
Also, how does one binds from within a poly’s subpatcher to the main patcher?
OK, I got it : bindto parent::objectname!
C74 RSS Feed | © Copyright Cycling '74