1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-11-08 18:02:23 +05:30

bytebeat-render.js: remove semicolons at EOLs

This commit is contained in:
Intel A80486DX2-66 2023-12-30 16:35:28 +03:00
parent 27b4045373
commit 6bb7482c3a
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -92,11 +92,11 @@ for (let buffer = 0; t < PRODUCT; buffer++) {
let sample = generateAudio(t * FINAL_SAMPLE_RATE_CONVERSION)
if (sample.constructor === Array)
sample.forEach((sample, index) => {
audioData[CHANNELS * idx + index] = constrainValue(sample);
audioData[CHANNELS * idx + index] = constrainValue(sample)
})
else
audioData[idx] = constrainValue(sample);
t++;
audioData[idx] = constrainValue(sample)
t++
}
if (t >= PRODUCT) {