Compare commits

..

2 Commits

Author SHA1 Message Date
bombinans c7138325c8 Merge pull request 'Fixed typo in reset method' (#1) from bugfix-reset into main
Reviewed-on: #1
2023-09-30 07:19:30 +00:00
bombinans 0cc6a17475 Fixed typo in reset method 2023-09-30 17:17:29 +10: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;