[PD-dev] loadbang order

Tim Blechmann TimBlechmann at gmx.net
Wed Aug 10 12:21:15 CEST 2005


On Tue, 9 Aug 2005 10:28:58 -0700
Miller Puckette <mpuckett at man104-1.ucsd.edu> wrote:

> Loadbangs are "depth first", i.e., loadbangs in abstractions (and
> subpatches in general) go off before loadbangs in the parent.  This is
> so that abstactions can initialize themselves before receiving
> messages coming from other loadbangs.
> 
> Two loadbangs in the same canvas (window), or in canvases neither of
> which is  a parent of the other, might go off in either order.
right ... having a patch like (which might be a common performance
setup): 
|pd presets|

|pd dsp|

|pd midi|

one can't be sure, that the preset loadbangs are executed in advance.
would be a big problem if the dsp objects are created dynamically (using
pd or dyn~), but the initialisation has not yet occurred ...

the algorithm i proposed makes sure, that no information is sent to an
uninitialized canvas.

cheers ... tim

-- 
mailto:TimBlechmann at gmx.de    ICQ: 96771783
http://www.mokabar.tk

latest mp3: kMW.mp3
http://mattin.org/mp3.html

latest cd: Goh Lee Kwang & Tim Blechmann: Drone
http://www.geocities.com/gohleekwangtimblechmannduo/

After one look at this planet any visitor from outer space 
would say "I want to see the manager."
				      William S. Burroughs




More information about the Pd-dev mailing list