On Tue, 9 Aug 2005 10:28:58 -0700 Miller Puckette mpuckett@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