Skip to content

Commit 2a14f5f

Browse files
committed
I'm crushing your head!
1 parent db2aaf3 commit 2a14f5f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

www/stuff/noise.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@
3838
let last=0;
3939
for (let i = 0; i < noise_buf_sz; i++) {
4040
let rand = Math.random() * 2 - 1;
41-
// outbuf[i] = (last + (0.02 * rand)) / 1.02;
42-
outbuf[i] = (last + (0.01 * rand)) / 1.01;
41+
// outbuf[i] = (last + (0.04 * rand)) / 1.04;
42+
outbuf[i] = (last + (0.025* rand)) / 1.025;
43+
// outbuf[i] = (last + (0.01 * rand)) / 1.01;
4344
last = outbuf[i];
4445
outbuf[i] *= 3.5; // (roughly) compensate for gain
4546
}

0 commit comments

Comments
 (0)