Hello Max Neupert
I'm not really sure what system your on, but I have
had some success with alpha mixing using win2k gem 0.9 with pd 3.7 (haven't tryed 3.8 yet), and planet ccrma redhat 9 pd gem install. Alpha mixing can provide the classic crossfade between two sources, or were you trying for some other type of mixing such as masks ect.
Try this alpha mixing patch (also located @ http://geocities.com/recursionvideolab/videomixer.zip):
#N canvas 145 255 821 361 12; #X obj 198 19 gemhead; #X floatatom 310 198 5 0 0 0 - - -; #X obj 199 -22 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X obj 163 72 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 ; #X obj 495 32 gemhead; #X floatatom 583 206 5 0 0 0 - - -; #X obj 505 3 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 ; #X obj 507 135 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X obj 369 104 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 2600 1; #N canvas 128 333 514 308 xfade 0; #X obj 80 18 inlet; #X obj 80 223 outlet; #X obj 169 224 outlet; #X obj 80 81 - 127; #X obj 80 108 abs; #X obj 80 140 / 127; #X obj 169 34 / 127; #X floatatom 80 170 5 0 0 0 - - -; #X floatatom 169 172 5 0 0 0 - - -; #X msg 80 196 1 1 1 $1; #X msg 169 196 1 1 1 $1; #X connect 0 0 3 0; #X connect 0 0 6 0; #X connect 3 0 4 0; #X connect 4 0 5 0; #X connect 5 0 7 0; #X connect 6 0 8 0; #X connect 7 0 9 0; #X connect 8 0 10 0; #X connect 9 0 1 0; #X connect 10 0 2 0; #X restore 394 134 pd xfade; #X msg 372 19 open $1; #X obj 358 -7 openpanel; #X obj 385 -31 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X msg 664 48 open $1; #X obj 667 14 openpanel; #X obj 673 -17 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 538 160 alpha; #X obj 306 66 t f b; #X obj 174 149 alpha; #X obj 643 86 t f b; #X obj 554 127 pix_texture2; #X obj 58 156 gemwin; #X msg 94 103 create; #X msg 12 47 destroy; #X obj 19 90 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #N canvas 559 305 674 311 color 0; #X msg 25 156 color $1 $2 $3; #X obj 25 120 pack 0 0 0; #X obj 25 191 outlet; #X floatatom 25 70 5 0 0 0 - - -; #X floatatom 57 87 5 0 0 0 - - -; #X floatatom 90 104 5 0 0 0 - - -; #X obj 100 121 t b; #X text 24 13 color R G B - the Red Green and Blue values range from 0 to 1 in floating point. Black is 0 0 0 , white is 1 1 1 , red is 1 0 0 and so on.; #X connect 0 0 2 0; #X connect 1 0 0 0; #X connect 3 0 1 0; #X connect 4 0 1 1; #X connect 4 0 6 0; #X connect 5 0 1 2; #X connect 5 0 6 0; #X connect 6 0 1 0; #X restore 97 23 pd color; #N canvas 629 403 520 314 positioning 0; #X obj 52 209 outlet; #X msg 52 138 dimen $1 $2; #X msg 250 139 offset $1 $2; #X obj 52 104 pack 0 0; #X floatatom 52 77 5 0 0 0 - - -; #X floatatom 103 77 5 0 0 0 - - -; #X obj 113 104 t b; #X obj 250 106 pack 0 0; #X floatatom 250 79 5 0 0 0 - - -; #X floatatom 301 79 5 0 0 0 - - -; #X obj 311 106 t b; #X text 39 24 offset is the position on the screen where the window originates. this is usually the top left hand corner; #X text 41 1 dimen is the size of the window in pixels; #X text 43 280 NOTE: these are only changed when the window is created! ; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 3 0 1 0; #X connect 4 0 3 0; #X connect 5 0 3 1; #X connect 5 0 6 0; #X connect 6 0 3 0; #X connect 7 0 2 0; #X connect 8 0 7 0; #X connect 9 0 7 1; #X connect 9 0 10 0; #X connect 10 0 7 0; #X restore 50 -20 pd positioning; #X obj 547 87 pix_film; #X obj 209 66 pix_film; #X obj 293 99 print X; #X obj 715 141 print y; #X obj 181 112 pix_texture2; #X obj 184 242 rectangle 2; #X obj 370 208 nbx 5 14 -1e+037 1e+037 0 0 empty empty empty 0 -6 0 10 -262144 -1 -1 3 256; #X obj 535 243 rectangle 2; #X obj 644 208 nbx 5 14 -1e+037 1e+037 0 0 empty empty empty 0 -6 0 10 -262144 -1 -1 5 256; #X msg 284 16 auto $1; #X msg 572 37 auto $1; #X obj 293 -15 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X obj 578 -11 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X obj 173 195 color 1 1 1 1; #X obj 455 201 color 1 1 1 1; #X connect 0 0 28 0; #X connect 1 0 32 1; #X connect 2 0 0 0; #X connect 3 0 18 0; #X connect 4 0 27 0; #X connect 5 0 34 1; #X connect 6 0 4 0; #X connect 7 0 16 0; #X connect 8 0 9 0; #X connect 9 0 40 1; #X connect 9 1 41 1; #X connect 10 0 28 0; #X connect 11 0 10 0; #X connect 12 0 11 0; #X connect 13 0 27 0; #X connect 14 0 13 0; #X connect 15 0 14 0; #X connect 16 0 41 0; #X connect 17 0 28 1; #X connect 17 1 29 0; #X connect 18 0 40 0; #X connect 19 0 27 1; #X connect 19 1 30 0; #X connect 20 0 16 0; #X connect 22 0 21 0; #X connect 23 0 21 0; #X connect 24 0 21 0; #X connect 25 0 21 0; #X connect 26 0 21 0; #X connect 27 0 20 0; #X connect 27 2 19 0; #X connect 28 0 31 0; #X connect 28 2 17 0; #X connect 31 0 18 0; #X connect 33 0 32 2; #X connect 35 0 34 2; #X connect 36 0 28 0; #X connect 37 0 27 0; #X connect 38 0 36 0; #X connect 39 0 37 0; #X connect 40 0 32 0; #X connect 41 0 34 0;
Hi list, beau, IOhannes,
on another computer it works now all like expected again. I probably messed something up in my configutration or so. thanks for checking and sorry for causing irritation IOhannes.
max
Am 03.03.2005 um 03:49 schrieb beau25@access4less.net:
Hello Max Neupert
I'm not really sure what system your on, but I have
had some success with alpha mixing using win2k gem 0.9 with pd 3.7 (haven't tryed 3.8 yet), and planet ccrma redhat 9 pd gem install. Alpha mixing can provide the classic crossfade between two sources, or were you trying for some other type of mixing such as masks ect.
Try this alpha mixing patch (also located @ http://geocities.com/recursionvideolab/videomixer.zip):
#N canvas 145 255 821 361 12; #X obj 198 19 gemhead; #X floatatom 310 198 5 0 0 0 - - -; #X obj 199 -22 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X obj 163 72 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 ; #X obj 495 32 gemhead; #X floatatom 583 206 5 0 0 0 - - -; #X obj 505 3 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 ; #X obj 507 135 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X obj 369 104 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 2600 1; #N canvas 128 333 514 308 xfade 0; #X obj 80 18 inlet; #X obj 80 223 outlet; #X obj 169 224 outlet; #X obj 80 81 - 127; #X obj 80 108 abs; #X obj 80 140 / 127; #X obj 169 34 / 127; #X floatatom 80 170 5 0 0 0 - - -; #X floatatom 169 172 5 0 0 0 - - -; #X msg 80 196 1 1 1 $1; #X msg 169 196 1 1 1 $1; #X connect 0 0 3 0; #X connect 0 0 6 0; #X connect 3 0 4 0; #X connect 4 0 5 0; #X connect 5 0 7 0; #X connect 6 0 8 0; #X connect 7 0 9 0; #X connect 8 0 10 0; #X connect 9 0 1 0; #X connect 10 0 2 0; #X restore 394 134 pd xfade; #X msg 372 19 open $1; #X obj 358 -7 openpanel; #X obj 385 -31 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X msg 664 48 open $1; #X obj 667 14 openpanel; #X obj 673 -17 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 538 160 alpha; #X obj 306 66 t f b; #X obj 174 149 alpha; #X obj 643 86 t f b; #X obj 554 127 pix_texture2; #X obj 58 156 gemwin; #X msg 94 103 create; #X msg 12 47 destroy; #X obj 19 90 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #N canvas 559 305 674 311 color 0; #X msg 25 156 color $1 $2 $3; #X obj 25 120 pack 0 0 0; #X obj 25 191 outlet; #X floatatom 25 70 5 0 0 0 - - -; #X floatatom 57 87 5 0 0 0 - - -; #X floatatom 90 104 5 0 0 0 - - -; #X obj 100 121 t b; #X text 24 13 color R G B - the Red Green and Blue values range from 0 to 1 in floating point. Black is 0 0 0 , white is 1 1 1 , red is 1 0 0 and so on.; #X connect 0 0 2 0; #X connect 1 0 0 0; #X connect 3 0 1 0; #X connect 4 0 1 1; #X connect 4 0 6 0; #X connect 5 0 1 2; #X connect 5 0 6 0; #X connect 6 0 1 0; #X restore 97 23 pd color; #N canvas 629 403 520 314 positioning 0; #X obj 52 209 outlet; #X msg 52 138 dimen $1 $2; #X msg 250 139 offset $1 $2; #X obj 52 104 pack 0 0; #X floatatom 52 77 5 0 0 0 - - -; #X floatatom 103 77 5 0 0 0 - - -; #X obj 113 104 t b; #X obj 250 106 pack 0 0; #X floatatom 250 79 5 0 0 0 - - -; #X floatatom 301 79 5 0 0 0 - - -; #X obj 311 106 t b; #X text 39 24 offset is the position on the screen where the window originates. this is usually the top left hand corner; #X text 41 1 dimen is the size of the window in pixels; #X text 43 280 NOTE: these are only changed when the window is created! ; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 3 0 1 0; #X connect 4 0 3 0; #X connect 5 0 3 1; #X connect 5 0 6 0; #X connect 6 0 3 0; #X connect 7 0 2 0; #X connect 8 0 7 0; #X connect 9 0 7 1; #X connect 9 0 10 0; #X connect 10 0 7 0; #X restore 50 -20 pd positioning; #X obj 547 87 pix_film; #X obj 209 66 pix_film; #X obj 293 99 print X; #X obj 715 141 print y; #X obj 181 112 pix_texture2; #X obj 184 242 rectangle 2; #X obj 370 208 nbx 5 14 -1e+037 1e+037 0 0 empty empty empty 0 -6 0 10 -262144 -1 -1 3 256; #X obj 535 243 rectangle 2; #X obj 644 208 nbx 5 14 -1e+037 1e+037 0 0 empty empty empty 0 -6 0 10 -262144 -1 -1 5 256; #X msg 284 16 auto $1; #X msg 572 37 auto $1; #X obj 293 -15 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X obj 578 -11 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X obj 173 195 color 1 1 1 1; #X obj 455 201 color 1 1 1 1; #X connect 0 0 28 0; #X connect 1 0 32 1; #X connect 2 0 0 0; #X connect 3 0 18 0; #X connect 4 0 27 0; #X connect 5 0 34 1; #X connect 6 0 4 0; #X connect 7 0 16 0; #X connect 8 0 9 0; #X connect 9 0 40 1; #X connect 9 1 41 1; #X connect 10 0 28 0; #X connect 11 0 10 0; #X connect 12 0 11 0; #X connect 13 0 27 0; #X connect 14 0 13 0; #X connect 15 0 14 0; #X connect 16 0 41 0; #X connect 17 0 28 1; #X connect 17 1 29 0; #X connect 18 0 40 0; #X connect 19 0 27 1; #X connect 19 1 30 0; #X connect 20 0 16 0; #X connect 22 0 21 0; #X connect 23 0 21 0; #X connect 24 0 21 0; #X connect 25 0 21 0; #X connect 26 0 21 0; #X connect 27 0 20 0; #X connect 27 2 19 0; #X connect 28 0 31 0; #X connect 28 2 17 0; #X connect 31 0 18 0; #X connect 33 0 32 2; #X connect 35 0 34 2; #X connect 36 0 28 0; #X connect 37 0 27 0; #X connect 38 0 36 0; #X connect 39 0 37 0; #X connect 40 0 32 0; #X connect 41 0 34 0;
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list