From 0cc6a17475231286314587aaafb18981d8b7edfb Mon Sep 17 00:00:00 2001 From: Mike Lynch Date: Sat, 30 Sep 2023 17:17:29 +1000 Subject: [PATCH] Fixed typo in reset method --- classes/Granulator.sc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Granulator.sc b/classes/Granulator.sc index aa7f2b4..e0d590d 100644 --- a/classes/Granulator.sc +++ b/classes/Granulator.sc @@ -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;