[PD] is there an object that emits bang when a subpatcher is restored?

Py Fave pyfave at gmail.com
Wed Nov 4 21:17:21 CET 2009


grid object from

http://ydegoyon.free.fr/software.html

has this behaviour too.( if i remember well)






2009/10/31 Luke Iannini <lukexipd at gmail.com>

> On Sat, Oct 31, 2009 at 7:08 AM, Frank Barknecht <fbar at footils.org> wrote:
> > Hallo,
> > Ivica Ico Bukvic hat gesagt: // Ivica Ico Bukvic wrote:
> >
> >> On Sat, 2009-10-31 at 21:43 +0800, jurgen wrote:
> >> > try [closebang] - read help file
> >> >
> >> > Jurgen
> >>
> >> Thanks for the info! However, this works when closing the entire patch
> >> but not sub-patchers. Likewise, I would need something that bangs when
> >> you open sub-patchers. I guess "restore" was the wrong terminology to
> >> use here.
> Hi Ivica
> The [tot] object from toxy will emit a bang from its right outlet
> whenever a subpatch is opened.  I can't recall any ways to know when a
> subpatch has been closed though ([active] from Cyclone will tell you
> about its focused state).
>
> Best
> Luke
>
> >
> > Depending on your goals, the following may be a solution: You can open
> and
> > close not only by clicking on it, but also by sending the message "vis
> 0/1" to
> > the subpatch-receiver. Example:
> >
> >  [pd mysub]
> >
> >  [tgl]
> >  |
> >  [vis $1(
> >  |
> >  [s pd-mysub]
> >
> > If you only open or close a subpatch this way, you can follow any state
> > changes by reading from [r pd-mysub].
> >
> > Ciao
> > --
> > Frank
> >
> > _______________________________________________
> > Pd-list at iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
> >
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20091104/051477cb/attachment.htm>


More information about the Pd-list mailing list