You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
366 B
Plaintext
18 lines
366 B
Plaintext
s.quit
|
|
s.boot
|
|
// allocates a 16-sample buffer and fills it with ascending values
|
|
b = Buffer.alloc(s,16);
|
|
c = Buffer.alloc(s,16,5);
|
|
b.setn(0, Array.series(16,-8,1));
|
|
|
|
// read to check
|
|
b.getn(0,16, {|msg| msg.postln});
|
|
c.getn(0,16, {|msg| msg.postln});
|
|
|
|
// run the code
|
|
b.fdNMF(c);
|
|
|
|
// read to check
|
|
b.getn(0,16, {|msg| msg.postln});
|
|
c.getn(0,16, {|msg| msg.postln});
|