fix: crackling - time-based render buffer, no voice stacking, lower synth gain/verbose

This commit is contained in:
2026-07-31 10:52:22 +07:00
parent ad5cda5a40
commit 7e5f406226
2 changed files with 14 additions and 22 deletions
+1 -5
View File
@@ -29,11 +29,7 @@ class FluidSynthBridge extends AudioWorkletProcessor {
si++;
if (si >= qL[fi].length) { fi++; si = 0; }
}
if (fi > 0) {
this.leftQ.splice(0, fi);
this.rightQ.splice(0, fi);
this.port.postMessage({ type: 'CONSUMED', n: fi });
}
if (fi > 0) { this.leftQ.splice(0, fi); this.rightQ.splice(0, fi); }
return true;
}
}