[PD] crossfade of complete sample buffer

Orm Finnendahl finnendahl at folkwang-hochschule.de
Tue Dec 3 08:36:32 CET 2002


Hi Krzysztof,

Am Montag, den 02. Dezember 2002 um 11:09:06 Uhr (+0100) schrieb
Krzysztof Czaja:

> or (if you happen to have vex installed) send
> 'gen concat <A>, multiply $1, add <B>, multiply $2'
> to [vex_form <destination>]
> 
> (in vex case math differs slightly)


trying your above example, I can't make it work. Clicking in one of
the two message boxes of the attached patch changes buf3 temporarily
to buf1, before it switches to buf2. buf3 should display buf1 on
receiption of )1 0] and buf2 on receiption of )0 1], right?

I couldn't find any documentation about vex so I'm at loss here.

--
Orm
-------------- next part --------------
#N canvas 537 5 450 564 10;
#X obj 19 484 vex_form buf3;
#N canvas 0 0 450 300 graph1 0;
#X array buf1 10 float 1;
#A 0 0 0.542855 0.171428 0.0857141 0.0857141 -0.799997 -0.65714 -0.399998
-0.499998 -0.614283;
#X coords 0 1 9 -1 200 140 1;
#X restore 229 7 graph;
#N canvas 0 0 450 300 graph2 0;
#X array buf2 10 float 1;
#A 0 0 -0.685718 -0.671432 -0.571431 0.242858 0.471431 0.600003 0.614289
0.54286 0;
#X coords 0 1 9 -1 200 140 1;
#X restore 229 151 graph;
#N canvas 0 0 450 300 graph3 0;
#X array buf3 10 float 1;
#A 0 0 -0 -0 -0 0 -0 -0 0 0 -0;
#X coords 0 1 9 -1 200 140 1;
#X restore 229 295 graph;
#X msg 19 461 gen concat buf1 \, multiply \$1 \, add buf2 \, multiply
\$2;
#X msg 46 429 0 1;
#X msg 19 407 1 0;
#X connect 4 0 0 0;
#X connect 5 0 4 0;
#X connect 6 0 4 0;


More information about the Pd-list mailing list