[英]How can I convert a wav blob to other audio types using javascript?
I need to use either a FLAC or PCM audio type. 我需要使用FLAC或PCM音频类型。 Is there a library or an algorithm to convert to either of these? 是否有一个库或一种算法可以转换为这两种方法?
You can not do that using pure javascript. 您不能使用纯JavaScript来做到这一点。 You will need at least an encoder with command line interface, and a server side script (like PHP) to access that and do the conversion. 您至少需要一个带命令行界面的编码器,以及一个服务器端脚本(如PHP)才能访问该代码并进行转换。
(edit) I just found this link, I stand corrected if it really works: https://github.com/sopel39/audioconverter.js/tree/master (编辑)我刚刚找到此链接,如果它真的有效,我会纠正: https : //github.com/sopel39/audioconverter.js/tree/master
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.