[PD] The Issue with 2 or more inlets

Frank Barknecht fbar at footils.org
Tue Aug 16 17:55:28 CEST 2005


Hallo,
Frank Barknecht hat gesagt: // Frank Barknecht wrote:

> A good example is squaring a number: 
>  
>  [3(
>  |
>  [t f f]   == [trigger float float]
>  |     |
>  [*    ]
>  |
>  9
... 
> If you consider the other possible connection, you cannot be sure of
> the result unless you now the history of the patch: 
> 
>  [3(
>  |
>  [t f f]
>   \ /
>    x
>   / \
>  [*  ]
>  |
>  ? 
> 
> Will there be a 9 here? Or a 3? Or a 0? And when?

Small addition here: If you don't use a trigger *at all* here as in
this: 

  [3(
  |\
  | \
  [* ]


then the order, in which the inlets get the data is *undefined*.  That
is, you cannot know which of the previously illustrated trigger orders
you get in your patch. 

And thus you will not know the result of the multiplication in
advance. This is really bad as it will lead to errors in your patch.
That's why it is so immensly important to understand and *use*
triggers all the time.

Remember: "Pd" does not only stand for "Pure Data" but also for:
"Pull da trigger!"

Ciao
-- 
 Frank Barknecht                               _ ______footils.org__
             
          _ __latest track: "plak" @ http://footils.org/cms/show/44




More information about the Pd-list mailing list