3 declare author "Grame";
5 declare copyright "(c)GRAME 2006";
7 //======================================================
10 // (from Maarten de Boer's Tapiir)
12 //======================================================
25 tap(n) = vslider("tap %n", 0,0,1,0.1);
26 in(n) = vslider("input %n", 1,0,1,0.1);
27 gain = vslider("gain", 1,0,1,0.1);
28 del = vslider("delay (sec)", 0, 0, 5, 0.01) * SR;
32 //-----------------------------------------------------------
34 mixer(taps,lines) = par(i,taps,*(tap(i))),
39 matrix(taps,lines) = ( bus(lines+taps)
43 mixer(taps,lines) : delay(dsize,del))))
50 tapiir(taps,lines) = vgroup("Tapiir",
52 <: (matrix(taps,lines), bus(lines))
53 <: vgroup( "outputs", par( i, lines, hgroup("output %i", mixer(taps,lines)) ) )
58 process = tapiir(6,2);