[PD] Sum of delays...

Frank Barknecht fbar at footils.org
Thu Sep 19 21:35:08 CEST 2013


Hi,

On Thu, Sep 19, 2013 at 02:20:28PM -0300, Mario Mey wrote:
> I think most of s/r and throw/catch are between abstracts. If I want
> to sort that objects (as Theory of Operation says: creating receive~
> after send~)... I don't know how to do it.

To trick Pd into sorting signal objects, that are not directly connected with
some patchcords (like sends), you must put them into subpatches or abstractions
and then connect these. 

For example this here will be unsorted: 


 [sig~ 1]     
 
 [sig~ 2]     
 
 [sig~ 3]

But this will be sorted: 

 [sig~ 1]     
 |
 [sig~ 2]     
 |
 [sig~ 3]

and this will also be sorted:
 
 [pd sig~1-inside]     
 |
 [pd sig~2-inside]     
 |
 [pd sig~3-inside]

where each subpatch has something like this inside: 

 [inlet~] [outlet~] [sig~ 1]

The 3 objects inside the subpatch don't need do be connected at all, only the
subpatches have to be connected to force an order.

In the end, you have now tricked Pd to execute signals in the order 1, 2 and 3,
although they aren't connected to anything. The order, in which these objects
have been created doesn't matter and you should never rely on creation order
anyway.

Instead of subpatches you can use abstraction, but you have to connect these
just as you have connected the subpatches.

Ciao
-- 
 Frank Barknecht                                     _ ______footils.org__



More information about the Pd-list mailing list