mirror of
https://gitlab.com/80486DX2-66/gists
synced 2024-12-27 05:40:17 +05:30
bytebeat-render.js: ffmpeg call: remove -y
argument
This commit is contained in:
parent
1606eb57d2
commit
0b4349e8c3
@ -109,5 +109,5 @@ for (let buffer = 0; t < PRODUCT; buffer++) {
|
|||||||
appendFileSync(fileName, Buffer.from(audioData.buffer))
|
appendFileSync(fileName, Buffer.from(audioData.buffer))
|
||||||
}
|
}
|
||||||
|
|
||||||
execSync(`ffmpeg -f u8 -ar ${FINAL_SAMPLE_RATE} -ac ${CHANNELS} -i ${fileName} output_${+new Date()}.wav -y`)
|
execSync(`ffmpeg -f u8 -ar ${FINAL_SAMPLE_RATE} -ac ${CHANNELS} -i ${fileName} output_${+new Date()}.wav`)
|
||||||
unlinkSync(fileName)
|
unlinkSync(fileName)
|
||||||
|
Loading…
Reference in New Issue
Block a user