如何在 Node js 中将 wav 或 mp3 转换为 fft

问题描述

请帮我解决这个问题。我和他坐了三天 如何在后端的 Node.js 中将 wav 或 mp3 转换为 fft

bot.on('voice',(msg) => {
    bot.getFile(msg.voice.file_id).then((resp) => {
        bot.getFileLink(resp.file_id).then((e) => {

            let file = fs.createWriteStream(`voice/${resp.file_id}_${msg.chat.id}.mp3`);
            let request = https.get(e,function(response) {
                response.pipe(file);
            });
        });
    });
})

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)