mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 00:12:38 +02:00
Fix
This commit is contained in:
@@ -98,7 +98,7 @@ module.exports = class AnimaleseCommand extends Command {
|
||||
}
|
||||
}
|
||||
const wav = new WaveFile();
|
||||
wav.fromScratch(1, sampleFreq, '32', Array.from(data));
|
||||
wav.fromScratch(1, sampleFreq, '32', data);
|
||||
return Readable.from([wav.toBuffer()]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user