Re: [PD] Switching Between Multiple Patches for Installation
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-03-14 22:38, Dafydd Hughes wrote: On Wed, Mar 14, 2012 at 5:30 PM, Jonathan Wilkes jancs...@yahoo.com wrote: 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. Not at pd right now, but can you get around that using an independent control patch that opens and closes patches? or use iemgut's [canvasdelete] (which will only delete the patch specified, rather than all foo.pds. fgamsdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9hnMsACgkQkX2Xpv6ydvQIFACg3jD/4Zdsyt0MptN6fgT50knR ofUAoNI0uWZJyfsEihVNzl3za8UiEx5b =XJvS -END PGP SIGNATURE- smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Switching Between Multiple Patches for Installation
Here's how I did it, I have a web interface that controls which of the patches is running: .hc 1515sound.tar.bz2 Description: BZip2 compressed data On Mar 14, 2012, at 4:44 PM, Tyler Leavitt wrote: 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@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list I hate it when they say, He gave his life for his country. Nobody gives their life for anything. We steal the lives of these kids. -Admiral Gene LeRocque ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Switching Between Multiple Patches for Installation
That's very elegant! I did a little test last night and [;pd-subpatch vis 0 works for me. Just don't run the metro so fast you can't grab focus in the control window *and* turn it off:) On Thu, Mar 15, 2012 at 10:01 AM, Hans-Christoph Steiner h...@at.or.at wrote: Here's how I did it, I have a web interface that controls which of the patches is running: .hc On Mar 14, 2012, at 4:44 PM, Tyler Leavitt wrote: 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@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list I hate it when they say, He gave his life for his country. Nobody gives their life for anything. We steal the lives of these kids. -Admiral Gene LeRocque ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Switching Between Multiple Patches for Installation
Sounds like a winner to me. At one point I had things working with no audio dropouts but then all of a sudden on some patches particularly ones that have a) unresolved sends/receives b) mouse input from gem or via canvas dragging in editable window I get clicks in the audio just by moving the mouse across On Thu, Mar 15, 2012 at 10:01 AM, Hans-Christoph Steiner h...@at.or.atwrote: Here's how I did it, I have a web interface that controls which of the patches is running: .hc ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Switching Between Multiple Patches for Installation
forgot to mention that minimiiziing pd and controling from html5canvas/javascript/javaudp does not cause dropouts. also if only using pd to send something else makiing the sound there are no dropouts. iits probably just something i'm overlooking. On Thu, Mar 15, 2012 at 8:34 PM, Billy Stiltner billy.stilt...@gmail.comwrote: Sounds like a winner to me. At one point I had things working with no audio dropouts but then all of a sudden on some patches particularly ones that have a) unresolved sends/receives b) mouse input from gem or via canvas dragging in editable window I get clicks in the audio just by moving the mouse across On Thu, Mar 15, 2012 at 10:01 AM, Hans-Christoph Steiner h...@at.or.atwrote: Here's how I did it, I have a web interface that controls which of the patches is running: .hc ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[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@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Switching Between Multiple Patches for Installation
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 thecryofl...@gmail.com To: pd-list pd-list@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@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Switching Between Multiple Patches for Installation
On Wed, Mar 14, 2012 at 5:30 PM, Jonathan Wilkes jancs...@yahoo.com wrote: 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. Not at pd right now, but can you get around that using an independent control patch that opens and closes patches? cheers dafydd ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Switching Between Multiple Patches for Installation
And wrap the whole patch with a [switch~] so you can turn off DSP when it is minimised and turn on ones that are in focus. a. On Wed, Mar 14, 2012 at 05:38:17PM -0400, Dafydd Hughes wrote: On Wed, Mar 14, 2012 at 5:30 PM, Jonathan Wilkes jancs...@yahoo.com wrote: 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. Not at pd right now, but can you get around that using an independent control patch that opens and closes patches? cheers dafydd ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Switching Between Multiple Patches for Installation
There's one in doc/manuals/0.intro/+pager.pd. But notice that is doesn't try to close any of the patches. -Jonathan - Original Message - From: Dafydd Hughes dafyd...@gmail.com To: Jonathan Wilkes jancs...@yahoo.com Cc: Tyler Leavitt thecryofl...@gmail.com; pd-list pd-list@iem.at Sent: Wednesday, March 14, 2012 5:38 PM Subject: Re: [PD] Switching Between Multiple Patches for Installation On Wed, Mar 14, 2012 at 5:30 PM, Jonathan Wilkes jancs...@yahoo.com wrote: 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. Not at pd right now, but can you get around that using an independent control patch that opens and closes patches? cheers dafydd ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Switching Between Multiple Patches for Installation
Perfect. Thank you guys. I haven't tried it yet but I'm sure this is exactly what I need, as closing the actual patch is irrelevant as long as I can get one to grab focus. Tyler On Wed, Mar 14, 2012 at 3:23 PM, Jonathan Wilkes jancs...@yahoo.com wrote: There's one in doc/manuals/0.intro/+pager.pd. But notice that is doesn't try to close any of the patches. -Jonathan - Original Message - From: Dafydd Hughes dafyd...@gmail.com To: Jonathan Wilkes jancs...@yahoo.com Cc: Tyler Leavitt thecryofl...@gmail.com; pd-list pd-list@iem.at Sent: Wednesday, March 14, 2012 5:38 PM Subject: Re: [PD] Switching Between Multiple Patches for Installation On Wed, Mar 14, 2012 at 5:30 PM, Jonathan Wilkes jancs...@yahoo.com wrote: 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. Not at pd right now, but can you get around that using an independent control patch that opens and closes patches? cheers dafydd ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list