1 //Partitioned Convolution
5 *ar { arg in, fftsize, irbufnum,mul = 1.0, add = 0.0;
6 ^this.multiNew('audio', in, fftsize, irbufnum).madd(mul, add);
9 *calcNumPartitions {arg fftsize, irbuffer;
10 var siz, partitionsize;
12 partitionsize=fftsize.div(2);
14 siz= irbuffer.numFrames;
15 ^((siz/partitionsize).roundUp);
16 //bufsize = numpartitions*fftsize;
19 *calcBufSize {arg fftsize, irbuffer;
20 ^ fftsize* (PartConv.calcNumPartitions(fftsize,irbuffer));
28 preparePartConv { arg buf, fftsize;
29 server.listSendMsg(["/b_gen", bufnum, "PreparePartConv", buf.bufnum, fftsize]);