bufhpss: typo and clearer example

nix
Pierre Alexandre Tremblay 7 years ago
parent 4dc82c2336
commit 874c0645cd

@ -131,7 +131,7 @@ code::
s.sync;
(Main.elapsedTime - t).postln;
}.play
);
)
//query and play the harmonic
c.query;
@ -147,11 +147,11 @@ code::
(
Routine{
t = Main.elapsedTime;
FluidBufHPSS.process(s, b.bufnum, harmBufNum: c.bufnum, percBufNum: d.bufnum, resBufNum:e.bufnum, harmFiltSize:31, modeFlag:2);
FluidBufHPSS.process(s, b.bufnum, harmBufNum: c.bufnum, percBufNum: d.bufnum, resBufNum:e.bufnum, harmFiltSize:31, modeFlag:2, htf1: 0.005, hta1: 7.5, htf2: 0.168, hta2: 7.5, ptf1: 0.004, pta1: 26.5, ptf2: 0.152, pta2: 26.5);
s.sync;
(Main.elapsedTime - t).postln;
}.play
);
)
//query and play the harmonic
c.query;
@ -162,5 +162,8 @@ code::
//query and play the residual
e.query;
e.play;
//still nullsumming
{PlayBuf.ar(1,c.bufnum) + PlayBuf.ar(1,d.bufnum) + PlayBuf.ar(1,e.bufnum) - PlayBuf.ar(1,b.bufnum,doneAction:2)}.play;
::

@ -81,7 +81,7 @@ c = Buffer.new(s);
s.sync;
(Main.elapsedTime - t).postln;
}.play
);
)
//check the number of slices
c.query;

Loading…
Cancel
Save