now with working stft return trip
parent
fd45d2c38b
commit
22c21782aa
@ -1,17 +1,13 @@
|
|||||||
s.quit
|
s.quit
|
||||||
s.boot
|
s.boot
|
||||||
// allocates a 16-sample buffer and fills it with ascending values
|
// allocates a 16-sample buffer and fills it with ascending values
|
||||||
b = Buffer.alloc(s,16);
|
b = Buffer.alloc(s,50000);
|
||||||
c = Buffer.alloc(s,16,5);
|
b.sine1([0,0,0,0,0,0,0,0,0,1],true,false);
|
||||||
b.setn(0, Array.series(16,-8,1));
|
b.plot;
|
||||||
|
c = Buffer.alloc(s,50000);
|
||||||
// read to check
|
|
||||||
b.getn(0,16, {|msg| msg.postln});
|
|
||||||
c.getn(0,16, {|msg| msg.postln});
|
|
||||||
|
|
||||||
// run the code
|
// run the code
|
||||||
b.fdNMF(c);
|
b.fdNMF(c);
|
||||||
|
|
||||||
// read to check
|
// read to check
|
||||||
b.getn(0,16, {|msg| msg.postln});
|
c.plot
|
||||||
c.getn(0,16, {|msg| msg.postln});
|
|
||||||
Loading…
Reference in New Issue