1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2025-04-14 09:29:04 +05:30

bytebeat-render.js: use value 128 as center for unsigned 8-bit audio

This commit is contained in:
パチュリー・ノーレッジ 2024-07-15 00:01:40 +03:00
parent 83a50dc22a
commit dbc03ae915
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

@ -81,7 +81,7 @@ function main() {
let lastCorrectSample
switch (SELECTED_TYPE) {
case TYPE_BYTEBEAT:
lastCorrectSample = 127
lastCorrectSample = 128
break
case TYPE_SIGNED_BYTEBEAT:
lastCorrectSample = 0