This commit is contained in:
Dragon Fire
2021-03-21 19:10:29 -04:00
parent 08922ef86c
commit f0fc5802e1
+1 -1
View File
@@ -99,7 +99,7 @@ module.exports = class AnimaleseCommand extends Command {
} }
const wav = new WaveFile(); const wav = new WaveFile();
wav.fromScratch(1, sampleFreq, '32', data); wav.fromScratch(1, sampleFreq, '32', data);
return wav.toBuffer(); return Buffer.from(wav.toBuffer());
} }
shortenWord(str) { shortenWord(str) {