[PD] Switching Between Multiple Patches for Installation

Jonathan Wilkes jancsika at yahoo.com
Wed Mar 14 22:30:36 CET 2012


If your patch is named foo.pd, send a "vis 1" message to it to give the window the focus, like this:

[vis 1(
|
[pd-foo.pd]

Automation is tricky.  In pd-extended or vanilla it will crash pd if you try to get a patch to close itself. 

Ivica made a fix for that in pd-l2ork-- which should work if you're only opening/closing every 2 

minutes-- but I'm not sure if it's still crash-proof.

-Jonathan



----- Original Message -----
> From: Tyler Leavitt <thecryoflove at gmail.com>
> To: pd-list <pd-list at iem.at>
> Cc: 
> Sent: Wednesday, March 14, 2012 4:44 PM
> Subject: [PD] Switching Between Multiple Patches for Installation
> 
> Hello all,
> 
> So I have around 8 generative patches/static compositions that I want
> to present as an installation. Less conceptual, more demonstrative of
> Pd. So about every 2 minutes I want a fullscreen window of one patch
> to close and the next patch to open fullscreen so that people can see
> the inner workings (I plan to do visuals through GEM and a projector).
> When I say fullscreen I mean fullscreen of the laptop, with the GEM
> visuals proceeding as usual. I understand how to accomplish the
> switching of the audio, but to get the patches themselves to take
> focus I'm afraid I'll need to write a script in Tcl/tkl, which I have
> no experience in. Does anyone have suggestions, or code from a similar
> presentation they could share?
> 
> Thanks,
> Tyler
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
> 



More information about the Pd-list mailing list