Hi Derek
Cheers for getting back to me with the info, however I'm still having a bit of a problem with it. Basically what the patch is doing is analysing a piece of music using the [bonk~] and [timer] objects. There are then three [gemhead] objects which are activated automatically based on how fast the beats are occuring (i.e. < 100, < 200, < 300). When one particular [gemhead] is activated it needs to deactivate which ever of the other two is active, automatically. The switch object you've suggested doesnt seem to be able to do this. I've attached the patch here so you can see what I'm on about.
Thanks for the help Donal
----- Original Message ----- From: "Derek Holzer" derek@umatic.nl To: "Donal Carey" donal@lunasadesign.com Cc: pd-list@iem.at Sent: Saturday, January 12, 2008 5:28 PM Subject: Re: [PD] Active/deactive gemheads
Easiest way is to control the active Gemhead with a single switch/number box/radio buttons/etc, and use three different [==] objects to check against the current Gemhead number. The [==] of the current Gemhead will send a 1, and the others a 0. See attached patch.
d.
Donal Carey wrote:
Hi
I'm currently building a VJ type patch and have run into a bit of difficulty. I have three [gemheads] connected to three sets of pics and videos and basically what I want to do is if any one of the 3 gem-heads is active the other two must be deactive so there would have to be some sort of mechanism to check if either of the other two gem-heads were active and if so deactivate them. Any suggestions would be much appreciated.
-- derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista ---Oblique Strategy # 76: "Give the game away"
#N canvas 0 22 454 304 10; #X obj 105 121 == 0; #X obj 165 121 == 1; #X obj 225 121 == 2; #X obj 131 148 tgl 15 0 empty empty empty 0 -6 0 10 -262144 -1 -1 1 1; #X obj 190 149 tgl 15 0 empty empty empty 0 -6 0 10 -262144 -1 -1 0 1; #X obj 250 149 tgl 15 0 empty empty empty 0 -6 0 10 -262144 -1 -1 0 1; #X obj 105 194 gemhead; #X obj 165 194 gemhead; #X obj 225 194 gemhead; #X obj 212 28 hradio 15 1 0 3 empty empty empty 0 -6 0 10 -262144 -1 -1 0; #X connect 0 0 6 0; #X connect 0 0 3 0; #X connect 1 0 7 0; #X connect 1 0 4 0; #X connect 2 0 8 0; #X connect 2 0 5 0; #X connect 9 0 0 0; #X connect 9 0 1 0; #X connect 9 0 2 0;