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:
parent
83a50dc22a
commit
dbc03ae915
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user