hi, I would stick process 1 in one subpatch, process 2 in a second subpatch, and control them by sending 1's and 0's to switch~ objects inside each subpath, turning them on or off. This just turns dsp on/off for that subpatch. If you want to just reroute messages, you can use spigot's or a variety of techniques using [moses] or whatever. this won't stop the signal objects from computing though.
Matt
-=-=-=-=-=-=-=-=-=-=-=-=- http://www.loopit.org/ -=-=-=-=-=-=-=-=-=-=-=-=- ----- Original Message ----- From: acabrera@teleset.com.co To: pd-list@iem.at Sent: Thursday, April 29, 2004 1:31 PM Subject: [PD] Is there a 'switch' object?
Hi all, I'm wondering if an object exists that can act as a 'switch'. What I mean
is
that when it is in one state, the signal flow continues in one direction
and
when in the other it goes in another direction, basically deactivating the other branch. What I want to do is split a gem list in two, so when the switch is in one state one type of processing is done, and another type of process is done
when
the switch is in another state. All this to save cpu, since both processes could be placed inline, but would consume too much cpu. I'm thinking specifically of live video processing. Is there an object to do this, or can anyone think of a way to do this?
Thanks all!
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
matthew jones wrote:
hi, I would stick process 1 in one subpatch, process 2 in a second subpatch, and control them by sending 1's and 0's to switch~ objects inside each subpath, turning them on or off. This just turns dsp on/off for that subpatch.
i do think, that "signal flow" was *not* referring to pd's signals but rather to messages (considering the terms "Gem" and "video processing" in the original mail) but of course [switch~] this is perfect for this kind of things.
[moses] just works on streams of floats, so it is not really useful for unspecified "messages"
mfg.asd.aas IOhannes
hi,
exactly for that purpose, but for different kind of data, you can find :
spigot~ from http://ydegoyon.free.fr/software.html
pdp_spigot from http://ydegoyon.free.fr/pidip.html
for other data, like messages or floats, the built-in spigot, demux or moses can do the trick.
cheers, sevy
IOhannes m zmoelnig wrote:
matthew jones wrote:
hi, I would stick process 1 in one subpatch, process 2 in a second subpatch, and control them by sending 1's and 0's to switch~ objects inside each subpath, turning them on or off. This just turns dsp on/off for that subpatch.
i do think, that "signal flow" was *not* referring to pd's signals but rather to messages (considering the terms "Gem" and "video processing" in the original mail) but of course [switch~] this is perfect for this kind of things.
[moses] just works on streams of floats, so it is not really useful for unspecified "messages"
mfg.asd.aas IOhannes
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
Is not it possible to manage directly built-in MIDI from PD in OSX? Some of you told me to check MIDI in Quick Time. mmm... something's wrong... ciao Paolo
www.besagno.com