few typos sorted for alpha05

nix
Pierre Alexandre Tremblay 7 years ago
parent 2bda503323
commit 1f96df851a

@ -119,7 +119,7 @@ Routine {
// wait for the query to print // wait for the query to print
// then find the rank that has more sustain pitch than pick (TODO: use descriptors with stats) // then find the rank that has more sustain pitch than pick (TODO: use descriptors with stats)
( (
~element = 1; ~element = 4;
{PlayBuf.ar(10,c)[~element]}.play; {PlayBuf.ar(10,c)[~element]}.play;
) )
@ -215,10 +215,14 @@ f = {arg bases = c.bufnum;
}.play(addAction:\addToTail); }.play(addAction:\addToTail);
) )
// set the bases
f.set(\bases, c.bufnum)
// here you can retrigger the factorisation // here you can retrigger the factorisation
g = Buffer.alloc(s,1025,3); g = Buffer.alloc(s,1025,3);
FluidBufNMF.process(s, d, bases:g, winSize:2048, rank:3); FluidBufNMF.process(s, d, bases:g, winSize:2048, rank:3);
f.set(\bases, g.bufnum) f.set(\bases, g.bufnum)
//free //free
f.free; e.free; f.free; e.free;
:: ::

@ -92,8 +92,7 @@ x = {
}.play; }.play;
) )
// the built-in is slightly worse on pure sinewaves // the built-in is slightly better on pure sinewaves
x.set(\freq, 220)
x.set(\freq, 440) x.set(\freq, 440)
// adding harmonics, by changing to triangle (1), saw (2) or square (3) shows that spectral algo are more resilient when signal are richer // adding harmonics, by changing to triangle (1), saw (2) or square (3) shows that spectral algo are more resilient when signal are richer
@ -103,6 +102,8 @@ x.set(\type, 3)
// adding noise shows the comparative sturdiness of the spectral pitch tracker // adding noise shows the comparative sturdiness of the spectral pitch tracker
x.set(\noise, 0.05) x.set(\noise, 0.05)
//if latency is no issue, getting a higher winSize will stabilise the algorithm even more
:: ::
STRONG::a more musical example:: STRONG::a more musical example::
@ -149,5 +150,4 @@ f = {
ReplaceOut.ar(0, source + [delay1+delay3,delay2+delay3]); ReplaceOut.ar(0, source + [delay1+delay3,delay2+delay3]);
}.play(addAction:\addToTail); }.play(addAction:\addToTail);
) )
:: ::

Loading…
Cancel
Save