mirror of
https://gitlab.com/80486DX2-66/gists
synced 2025-05-31 08:31:41 +05:30
bytebeat-render.js: use value 128
as center for unsigned 8-bit audio
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user