1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2025-05-31 08:31:41 +05:30

bytebeat-render.js: explicit GC

This commit is contained in:
2024-01-01 01:34:18 +03:00
parent 93ed0c917a
commit a46019a754

View File

@@ -106,6 +106,8 @@ for (let buffer = 0; t < PRODUCT; buffer++) {
}
appendFileSync(fileName, Buffer.from(audioData.buffer))
audioData = null
}
execSync(`ffmpeg -f u8 -ar ${FINAL_SAMPLE_RATE} -ac ${CHANNELS} -i ${fileName} output_${+new Date()}.wav`)