我正在使用recorder.js/recorderworker.js,结果质量是16位,立体声441000赫兹,如何才能将其更改为16位,立体声8000赫兹?
发布于 2016-01-08 22:17:45
构造函数接受一个config对象作为第二个参数,如下所示。这将允许你将其设置为立体声,并指定采样率-但我不确定如何将其设置为16bit (我相信这是默认设置)。
var audioContext = new AudioContext();
var microphone = audioContext.createMediaStreamSource(stream);
recorder = new Recorder(microphone, { numChannels: 1, sampleRate: 8000 });发布于 2021-08-22 14:05:29
在文件app.js中,您可以配置
audioContext = new AudioContext({sampleRate: 8000});https://stackoverflow.com/questions/34065019
复制相似问题