Initial import.
[Faustine.git] / interpretor / faust-0.9.47mr3 / tools / faust2pd / examples / faust / matrix.dsp
1 declare name "matrix";
2 declare version "1.0";
3 declare author "Grame";
4 declare license "BSD";
5 declare copyright "(c)GRAME 2006";
6
7 //-----------------------------------------------
8 // Audio Matrix : N inputs x M outputs
9 //-----------------------------------------------
10
11 import("music.lib");
12
13 Fader(in) = db2linear(vslider("Input %in", -10, -96, 4, 0.1));
14 Mixer(N,out) = hgroup("Output %out", par(in, N, *(Fader(in)) ) :> _ );
15 Matrix(N,M) = tgroup ("Matrix %N x %M", par(in, N, _) <: par(out, M, Mixer(N, out)));
16
17 process = Matrix(8, 8);