Fixed typo in reset method

bugfix-reset
bombinans 2023-09-30 17:17:29 +10:00
parent aeb95f1343
commit 0cc6a17475
1 changed files with 1 additions and 1 deletions

View File

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