[PD] fx chaining without glitch

Roman Haefeli reduzent at gmail.com
Fri Oct 21 13:57:32 CEST 2011


On Fri, 2011-10-21 at 19:02 +0900, i go bananas wrote:
> here's a quick example with throw~ and catch~

This is actually a good example of how difficult / impossible it is to
make it really glitch free with [send~ ] / [receive~ ], [throw~ ] and
[catch~ ] respectively.

During one block, you get weird results when switching. Check attached
patch (your simpleRouting.pd with a grapher).

Roman

> 
> On Fri, Oct 21, 2011 at 4:57 PM, Roman Haefeli <reduzent at gmail.com> wrote:
> 
> > On Thu, 2011-10-20 at 23:48 -0400, Hans-Christoph Steiner wrote:
> > > I think the way you'd do it to prevent glitches is to have them in
> > > subpatches, always attached, and then turn them on and off with a [*~]
> > > and a [switch~].
> >
> > How are you gonna patch this without creating DSP loops?
> >
> > Roman
> >
> >
> > > On Oct 20, 2011, at 9:44 PM, patrick wrote:
> > >
> > > > hi everyone,
> > > >
> > > > i would like to make a patch with multiple fx~ _but_ is it possible to
> > > > chain the fx~ and change the order without a single glitch in the dsp.
> > > > as an example:
> > > >
> > > > [adc~]
> > > > |
> > > > [reverb~]
> > > > |
> > > > [distortion~]
> > > > |
> > > > [dac~]
> > > >
> > > > now pressing a bang and automagically:
> > > >
> > > > [adc~]
> > > > |
> > > > [distortion~]
> > > > |
> > > > [reverb~]
> > > > |
> > > > [dac~]
> > > >
> > > > is it possible in pd?
> > > > thanks,
> > > > pat
> > > >
> > > > _______________________________________________
> > > > Pd-list at iem.at mailing list
> > > > UNSUBSCRIBE and account-management ->
> > http://lists.puredata.info/listinfo/pd-list
> > >
> > >
> > >
> > >
> > ----------------------------------------------------------------------------
> > >
> > > "[W]e have invented the technology to eliminate scarcity, but we are
> > > deliberately throwing it away to benefit those who profit from
> > > scarcity."        -John Gilmore
> > >
> > >
> > >
> > > _______________________________________________
> > > Pd-list at iem.at mailing list
> > > UNSUBSCRIBE and account-management ->
> > http://lists.puredata.info/listinfo/pd-list
> >
> >
> >
> >
> > _______________________________________________
> > Pd-list at iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> > http://lists.puredata.info/listinfo/pd-list
> >

-------------- next part --------------
#N canvas 496 124 687 567 10;
#X obj 16 151 throw~ \$0-fx1;
#X obj -72 200 catch~ \$0-fx1;
#X obj 62 202 catch~ \$0-fx2;
#X obj -62 431 pack s \$0;
#X msg -62 455 set \$2-\$1;
#X msg -34 404 out;
#X obj -76 502 throw~ \$0-fx2;
#X msg -62 404 fx2;
#X obj -60 352 r \$0-order;
#X obj -60 376 sel 0 1;
#X obj 94 442 pack s \$0;
#X msg 94 466 set \$2-\$1;
#X obj 96 363 r \$0-order;
#X obj 96 387 sel 0 1;
#X obj 62 509 throw~ \$0-out;
#X msg 94 415 out;
#X msg 122 415 fx1;
#X obj 279 432 dac~;
#X obj 263 144 s \$0-order;
#X obj 261 107 vradio 15 1 1 2 empty empty empty 0 -8 0 10 -262144
-1 -1 0;
#X text 278 107 fx1->fx2;
#X text 279 123 fx2->fx1;
#X obj 91 89 pack s \$0;
#X msg 91 113 set \$2-\$1;
#X obj 93 10 r \$0-order;
#X obj 93 34 sel 0 1;
#X msg 91 62 fx1;
#X msg 119 62 fx2;
#X obj 62 287 *~ 5;
#X obj -74 286 +~ 2;
#X obj 287 372 phasor~;
#X obj 287 397 *~ 0.2;
#X obj 287 347 mtof~;
#X obj 288 304 catch~ \$0-out;
#X obj -42 61 sig~ 10;
#X obj 260 172 r \$0-order;
#X obj 169 339 tabwrite~ glitchy?;
#N canvas 0 0 450 300 (subpatch) 0;
#X array glitchy? 1000 float 3;
#A 0 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52
52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52
52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60;
#X coords 0 61 999 51 200 140 1 0 0;
#X restore 378 140 graph;
#X obj 260 194 b;
#X connect 1 0 29 0;
#X connect 2 0 28 0;
#X connect 3 0 4 0;
#X connect 4 0 6 0;
#X connect 5 0 3 0;
#X connect 7 0 3 0;
#X connect 8 0 9 0;
#X connect 9 0 7 0;
#X connect 9 1 5 0;
#X connect 10 0 11 0;
#X connect 11 0 14 0;
#X connect 12 0 13 0;
#X connect 13 0 15 0;
#X connect 13 1 16 0;
#X connect 15 0 10 0;
#X connect 16 0 10 0;
#X connect 19 0 18 0;
#X connect 22 0 23 0;
#X connect 23 0 0 0;
#X connect 24 0 25 0;
#X connect 25 0 26 0;
#X connect 25 1 27 0;
#X connect 26 0 22 0;
#X connect 27 0 22 0;
#X connect 28 0 14 0;
#X connect 29 0 6 0;
#X connect 30 0 31 0;
#X connect 31 0 17 0;
#X connect 31 0 17 1;
#X connect 32 0 30 0;
#X connect 33 0 32 0;
#X connect 33 0 36 0;
#X connect 34 0 0 0;
#X connect 35 0 38 0;
#X connect 38 0 36 0;


More information about the Pd-list mailing list