Fixed typo in reset method
parent
aeb95f1343
commit
0cc6a17475
|
@ -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