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
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@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
On Wed, Mar 14, 2012 at 5:30 PM, Jonathan Wilkes jancsika@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
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 jancsika@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
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 dafydd61@gmail.com To: Jonathan Wilkes jancsika@yahoo.com Cc: Tyler Leavitt thecryoflove@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 jancsika@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
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 jancsika@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 dafydd61@gmail.com To: Jonathan Wilkes jancsika@yahoo.com Cc: Tyler Leavitt thecryoflove@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 jancsika@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
-----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 jancsika@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.pd"s.
fgamsdr IOhannes
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
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 hans@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
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 hans@at.or.atwrote:
Here's how I did it, I have a web interface that controls which of the patches is running:
.hc
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.stiltner@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 hans@at.or.atwrote:
Here's how I did it, I have a web interface that controls which of the patches is running:
.hc