Fixed typo in reset method #1
|
@ -107,7 +107,7 @@ Granulator {
|
||||||
|
|
||||||
reset { | newbuflen |
|
reset { | newbuflen |
|
||||||
var newbuf = Buffer.alloc(server, server.sampleRate * newbuflen, 1), oldbuf = buffer;
|
var newbuf = Buffer.alloc(server, server.sampleRate * newbuflen, 1), oldbuf = buffer;
|
||||||
record.set(\buffer, newbuf);
|
recorder.set(\buffer, newbuf);
|
||||||
grains.set(\buffer, newbuf);
|
grains.set(\buffer, newbuf);
|
||||||
buffer = newbuf;
|
buffer = newbuf;
|
||||||
oldbuf.free;
|
oldbuf.free;
|
||||||
|
|
Loading…
Reference in New Issue