Merge remote-tracking branch 'origin/main' into supradough

This commit is contained in:
Felix Roos 2025-06-12 10:22:08 +02:00
commit 30f7127a92
No known key found for this signature in database
10 changed files with 204 additions and 38 deletions

View file

@ -882,7 +882,6 @@ class ByteBeatProcessor extends AudioWorkletProcessor {
const funcValue = this.func(local_t);
let signal = (funcValue & 255) / 127.5 - 1;
const out = signal * 0.2;
for (let c = 0; c < output.length; c++) {
//prevent speaker blowout via clipping if threshold exceeds
output[c][i] = clamp(out, -0.4, 0.4);