Fixed typo in reset method #1

Merged
bombinans merged 1 commits from bugfix-reset into main 2023-09-30 07:19:31 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -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;