[PD] dynamic etern/subpatch instantiation?

Josh Steiner joschi at eds.org
Wed Dec 19 23:52:04 CET 2001


awsome, thanks for all your help everyone, i'm really impressed at how
much i can do with pd.

on the flip side, i can reliably crash pd on my win2k machine here by
clicking a few times on the open message box so that i have a few
duplicate x.pd windows open, then hitting the close message box. is this a
known issue?  here are my two patches:

test.pd:

#N canvas 453 249 452 302 10;
#X msg 43 82 \; pd-x.pd menuclose;
#X msg 45 35 \; pd open x.pd c:/pd/joschi/;


x.pd:

#N canvas 0 0 454 304 12;
#X obj 115 100 foobar;

-Josh



On Wed, 19 Dec 2001, Miller Puckette wrote:

> An easier way than self-modifying patches migth be to open a top-level
> patch by message passing.  For instance if you have a patch, /tmp/x.pd, here's
> a patch to open and close it:
> 
> #N canvas 453 249 450 300 10;
> #X msg 43 82 \; pd-x.pd menuclose;
> #X msg 45 35 \; pd open x.pd /tmp;
> 
> cheers
> Miller
> 
> On Wed, Dec 19, 2001 at 10:55:52AM -0800, Josh Steiner wrote:
> > Hey folks, I've been trying to figure out how one would dynamically
> > instantiate an extern or subpatch in pd and havn't had any luck so far.  
> > basically, i'd like to design a state machine based patch and have it able
> > to dynamically load which subpatches are being played depending on what
> > state it is in, most likely from a text file.  Any tips or general clues
> > would be greatly appriciated, thanks!
> > 
> > ________________________________________________________________
> > Josh .. Yoshi .. Joschi .. xiphoidprocess.com .. eds.org/~joschi
> > 
> 

________________________________________________________________
Josh .. Yoshi .. Joschi .. xiphoidprocess.com .. eds.org/~joschi




More information about the Pd-list mailing list