Merge pull request 'Fixed typo in reset method' (#1) from bugfix-reset into main
Reviewed-on: #1main
commit
c7138325c8
|
@ -107,7 +107,7 @@ Granulator {
|
|||
|
||||
reset { | newbuflen |
|
||||
var newbuf = Buffer.alloc(server, server.sampleRate * newbuflen, 1), oldbuf = buffer;
|
||||
record.set(\buffer, newbuf);
|
||||
recorder.set(\buffer, newbuf);
|
||||
grains.set(\buffer, newbuf);
|
||||
buffer = newbuf;
|
||||
oldbuf.free;
|
||||
|
|
Loading…
Reference in New Issue