Merge remote-tracking branch 'origin/main' into supradough
This commit is contained in:
commit
30f7127a92
10 changed files with 204 additions and 38 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue