1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2025-01-10 17:32:05 +05:30

bytebeat-render.js: remove semicolons at EOLs

This commit is contained in:
パチュリー・ノーレッジ 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) let sample = generateAudio(t * FINAL_SAMPLE_RATE_CONVERSION)
if (sample.constructor === Array) if (sample.constructor === Array)
sample.forEach((sample, index) => { sample.forEach((sample, index) => {
audioData[CHANNELS * idx + index] = constrainValue(sample); audioData[CHANNELS * idx + index] = constrainValue(sample)
}) })
else else
audioData[idx] = constrainValue(sample); audioData[idx] = constrainValue(sample)
t++; t++
} }
if (t >= PRODUCT) { if (t >= PRODUCT) {