[PD] Question about loadbang and dynamic sub-patches

Christof Ressi christof.ressi at gmx.at
Thu Feb 16 18:57:42 CET 2017


basically that works too. however, it gets a bit messy once you have nested loadbangs because these will get called more than once (I don't know why). as long as you doesn't relay on loadbangs firing exactly once, this shouldn't be a big problem, though.

> Gesendet: Donnerstag, 16. Februar 2017 um 17:43 Uhr
> Von: Jack <jack at rybn.org>
> An: pd-list at lists.iem.at
> Betreff: Re: [PD] Question about loadbang and dynamic sub-patches
>
> Hello David,
> 
> Set you message box like :
> 
> ;
> pd-WORKSPACE clear;
> pd-WORKSPACE obj 20 20 loadbang-test;
> pd-WORKSPACE loadbang
> 
> ++
> 
> Jack
> 
> 
> 
> 
> Le 16/02/2017 à 17:18, David a écrit :
> > Hi!
> > 
> > I have a question about the expected behaviour of loadbang when it's
> > used in a sub-patch that's built dynamically. It appears that it isn't
> > getting triggered. I've attached a simplified example. 
> > 
> > Should it get triggered? Does anyone know of a workaround for this? In
> > other words, something that's functionally equivalent? I want certain
> > events to happen once when I build a sub-patch dynamically, to
> > initialize some objects. I guess I could use creation arguments to do
> > that, but I'd rather not have to do that.
> > 
> > Thanks,
> > David.
> > 
> > 
> > 
> > _______________________________________________
> > Pd-list at lists.iem.at mailing list
> > UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
> > 
> 
> 
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
>



More information about the Pd-list mailing list