Re: [PD] bypassing effects

2010-01-11 Thread Marco Donnarumma
Hi,
another good strategy - suggested me by Husk - is to cut and paste. this
mean: you have your abstraction or subpatch containing the effect guts and a
drop-down menu where you can choose other effects (or any other selection
tool). When you choose one you basically trigger few messages to Pd telling
to cut the current effect subpatch and attach the new selected one.
This way you can also save some cpu usage and keep your main patch not
overcrowded.

take a look in the help browser:
manuals  pd-msg/  1.msg_and_patch  0.all_msg.pd

cheers

M


Salut Jack, George, and All,Thank you!

 The spigots work!
 I was using them but chained them in the wrong way, noob mistake i guess :)
 thanks so much!

 a pretty patch will be coming soon :)
 s~




-- 
Marco Donnarumma aka TheSAD


Independent New Media Arts Professional, Performer, Teacher - Edinburgh, UK

LAB: http://www.thesaddj.com | http://cntrl.sourceforge.net |
http://www.flxer.net

EVENT: http://www.liveperformersmeeting.net
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] bypassing effects

2010-01-10 Thread sonia yuditskaya
Hi All,
I am working on a kind of VJing tool, and am trying to make an effects bus.
The way I am dealing with videos is by using pix_film, passing that through
an effect and drawing the output to pix_texture.
Do any of you know, how, given this setup, one could bypass an effect in the
chain, but still draw to texture?
Or maybe I should be using a different system?
Thanks ever so much for any input!
best,
Sonia Yuditskaya
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] bypassing effects

2010-01-10 Thread George Ker~

Wouldn't the attachment help you? Or I'm missing something?

-
George Ker
http://tinyurl.com/GeorgeKer
-

 10/01/2010 6:45 ??, O/H sonia yuditskaya ??:

Hi All,
I am working on a kind of VJing tool, and am trying to make an effects 
bus.
The way I am dealing with videos is by using pix_film, passing that 
through an effect and drawing the output to pix_texture.
Do any of you know, how, given this setup, one could bypass an effect 
in the chain, but still draw to texture?

Or maybe I should be using a different system?
Thanks ever so much for any input!
best,
Sonia Yuditskaya


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -  
http://lists.puredata.info/listinfo/pd-list
   
#N canvas 99 356 450 300 10;
#X obj 216 84 tgl 18 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 161 179 *;
#X obj 108 177 * -1;
#X obj 108 200 + 1;
#X obj 93 225 *;
#X obj 93 120 inlet;
#X text 240 84 on/off for effect;
#X obj 161 208 outlet;
#X text 206 205 outlet to effect;
#X obj 93 253 outlet;
#X text 141 253 bypassing the effect;
#X connect 0 0 1 1;
#X connect 0 0 2 0;
#X connect 1 0 7 0;
#X connect 2 0 3 0;
#X connect 3 0 4 1;
#X connect 4 0 9 0;
#X connect 5 0 4 0;
#X connect 5 0 1 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] bypassing effects

2010-01-10 Thread Jack
Have you try to separate the GEM chain in two chains starting with
[spigot] ? One chain for effects, the other for bypass.
See the patch.
++

Jack


Le dimanche 10 janvier 2010 à 17:45 +0100, sonia yuditskaya a écrit :
 Hi All, 
 I am working on a kind of VJing tool, and am trying to make an effects
 bus.
 The way I am dealing with videos is by using pix_film, passing that
 through an effect and drawing the output to pix_texture.
 Do any of you know, how, given this setup, one could bypass an effect
 in the chain, but still draw to texture?
 Or maybe I should be using a different system?
 Thanks ever so much for any input!
 best, 
 Sonia Yuditskaya
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list

#N canvas 9 174 724 565 10;
#X obj 313 31 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577
0;
#N canvas 0 0 450 300 gemwin 0;
#X obj 132 136 gemwin;
#X obj 67 89 outlet;
#X obj 67 10 inlet;
#X msg 67 70 set destroy;
#X msg 132 112 create \, 1;
#X msg 198 112 destroy;
#X msg 156 71 set create;
#X obj 67 41 route create;
#X connect 2 0 7 0;
#X connect 3 0 1 0;
#X connect 4 0 0 0;
#X connect 5 0 0 0;
#X connect 6 0 1 0;
#X connect 7 0 3 0;
#X connect 7 0 4 0;
#X connect 7 1 6 0;
#X connect 7 1 5 0;
#X restore 318 70 pd gemwin;
#X msg 318 51 destroy;
#X text 314 30 Create window:;
#X obj 117 33 gemhead;
#X obj 117 430 pix_texture;
#X obj 129 63 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 129 92 openpanel;
#X msg 129 112 open \$1;
#X obj 117 452 rectangle 4 3;
#X obj 117 191 pix_film;
#X msg 135 155 auto \$1;
#X obj 135 137 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
1;
#X obj 233 199 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X text 255 198 - effect on/off;
#X obj 233 222 == 0;
#X obj 117 277 spigot 0;
#X obj 188 277 spigot 1;
#X obj 117 373 pix_contrast;
#X msg 186 353 100;
#X obj 186 328 loadbang;
#X connect 1 0 2 0;
#X connect 2 0 1 0;
#X connect 4 0 10 0;
#X connect 5 0 9 0;
#X connect 6 0 7 0;
#X connect 7 0 8 0;
#X connect 8 0 10 0;
#X connect 10 0 16 0;
#X connect 10 0 17 0;
#X connect 11 0 10 0;
#X connect 12 0 11 0;
#X connect 13 0 15 0;
#X connect 13 0 16 1;
#X connect 15 0 17 1;
#X connect 16 0 18 0;
#X connect 17 0 5 0;
#X connect 18 0 5 0;
#X connect 19 0 18 2;
#X connect 20 0 19 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] bypassing effects

2010-01-10 Thread sonia yuditskaya
Salut Jack, George, and All,
Thank you!
The spigots work!
I was using them but chained them in the wrong way, noob mistake i guess :)
thanks so much!

a pretty patch will be coming soon :)
s~

yes I did try spigots, this is great for one effect,
the problem is when you have more than one effect, it seems that disabling
On Sun, Jan 10, 2010 at 6:24 PM, Jack j...@rybn.org wrote:

 Have you try to separate the GEM chain in two chains starting with
 [spigot] ? One chain for effects, the other for bypass.
 See the patch.
 ++

 Jack


 Le dimanche 10 janvier 2010 à 17:45 +0100, sonia yuditskaya a écrit :
  Hi All,
  I am working on a kind of VJing tool, and am trying to make an effects
  bus.
  The way I am dealing with videos is by using pix_film, passing that
  through an effect and drawing the output to pix_texture.
  Do any of you know, how, given this setup, one could bypass an effect
  in the chain, but still draw to texture?
  Or maybe I should be using a different system?
  Thanks ever so much for any input!
  best,
  Sonia Yuditskaya
 
  ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list




-- 
Sonia Yuditskaya
up up ~~ away!
] yuditskaya.com [
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] bypassing effects

2010-01-10 Thread F. Medeiros
On Sun, 2010-01-10 at 21:46 +0100, sonia yuditskaya wrote:
 Salut Jack, George, and All, 
 Thank you!
 The spigots work!
 I was
 using them but chained them in the wrong way, noob mistake i guess :)
 thanks so much!
 
 
 a pretty patch will be coming soon :)
 s~
 
 yes I did try spigots, this is great for one effect, 
 the problem is when you have more than one effect, it seems that
 disabling 
 On Sun, Jan 10, 2010 at 6:24 PM, Jack j...@rybn.org wrote:
 Have you try to separate the GEM chain in two chains starting
 with
 [spigot] ? One chain for effects, the other for bypass.
 See the patch.
 ++
 
 Jack



I also use demultiplex or [demux] for this, in a very similar way to the
spigot.

heres a patch

Bem haja.





#N canvas 534 82 724 565 10;
#X obj 313 31 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577
0;
#N canvas 0 0 450 300 gemwin 0;
#X obj 132 136 gemwin;
#X obj 67 89 outlet;
#X obj 67 10 inlet;
#X msg 67 70 set destroy;
#X msg 132 112 create \, 1;
#X msg 198 112 destroy;
#X msg 156 71 set create;
#X obj 67 41 route create;
#X connect 2 0 7 0;
#X connect 3 0 1 0;
#X connect 4 0 0 0;
#X connect 5 0 0 0;
#X connect 6 0 1 0;
#X connect 7 0 3 0;
#X connect 7 0 4 0;
#X connect 7 1 6 0;
#X connect 7 1 5 0;
#X restore 318 70 pd gemwin;
#X msg 318 51 destroy;
#X text 314 30 Create window:;
#X obj 117 33 gemhead;
#X obj 117 430 pix_texture;
#X obj 129 63 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 129 92 openpanel;
#X msg 129 112 open \$1;
#X obj 117 452 rectangle 4 3;
#X obj 117 193 pix_film;
#X msg 135 155 auto \$1;
#X obj 135 137 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
1;
#X obj 144 228 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X text 162 226 - effect on/off;
#X obj 144 344 pix_contrast;
#X msg 213 324 100;
#X obj 213 299 loadbang;
#X obj 117 255 demux;
#X connect 1 0 2 0;
#X connect 2 0 1 0;
#X connect 4 0 10 0;
#X connect 5 0 9 0;
#X connect 6 0 7 0;
#X connect 7 0 8 0;
#X connect 8 0 10 0;
#X connect 10 0 18 0;
#X connect 11 0 10 0;
#X connect 12 0 11 0;
#X connect 13 0 18 1;
#X connect 15 0 5 0;
#X connect 16 0 15 2;
#X connect 17 0 16 0;
#X connect 18 0 5 0;
#X connect 18 1 15 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list