1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2025-05-31 08:31:41 +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

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) {