now working with the right SC interface (buffer/rank/fftsize/windowsize/hopsize)
parent
22c21782aa
commit
d9cf021745
@ -1,7 +1,7 @@
|
|||||||
// adds an instance method to the Buffer class
|
// adds an instance method to the Buffer class
|
||||||
+ Buffer {
|
+ Buffer {
|
||||||
fdNMF { arg dstBuf, repetitions = 0;
|
fdNMF { arg dstBuf, rank = 1, fftSize = 2048, windowSize = 2048, hopSize = 512;
|
||||||
if(bufnum.isNil) { Error("Cannot call % on a % that has been freed".format(thisMethod.name, this.class.name)).throw };
|
if(bufnum.isNil) { Error("Cannot call % on a % that has been freed".format(thisMethod.name, this.class.name)).throw };
|
||||||
server.listSendMsg([\b_gen, dstBuf.bufnum, "BufNMF", bufnum, repetitions])
|
server.listSendMsg([\b_gen, dstBuf.bufnum, "BufNMF", bufnum, rank, fftSize, windowSize, hopSize])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue