mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-18 13:56:25 +02:00
Fix
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user