Potential fix for #7

This commit is contained in:
msqr1
2024-06-02 17:16:58 -07:00
parent 410bff9be1
commit 2d40e1ec99
5 changed files with 5 additions and 4 deletions

View File

@@ -8,6 +8,7 @@ let processorURL = URL.createObjectURL(new Blob(['(', (() => {
this.buffer = new Float32Array(this.maxCount * 128)
}
process(inputs) {
if(!inputs[0][0]) return true
this.buffer.set(inputs[0][0], this.count * 128)
this.count++
if(this.count >= this.maxCount) {