The missing storage/exchange object ?

Feb 24, 2009 at 1:17pm

The missing storage/exchange object ?

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?

#42495
Feb 24, 2009 at 2:03pm

Why don’t you use pattr? You can bind from the poly~ patch to some objects in the main patch.

Jeremy

#152066
Feb 24, 2009 at 4:11pm

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?

Roald Baudoux

#152067
Feb 24, 2009 at 4:23pm

OK, I got it : bindto parent::objectname!

tanxalot!

RB

#152068

You must be logged in to reply to this topic.