小编mro*_*man的帖子

如何使用 AudioWorklet 获取麦克风音量

I'm interested in getting a continuous reading of the microphone volume in Javscript. Many of the existing solutions to this on StackOverflow (see here, here, and here) utilize BaseAudioContext.createScriptProcessor() which is deprecated as of 2014.

I'd like to be using future-proof code in my project, so can anyone share a modern minimal example of how to read the microphone volume using the new AudioWorkletNode?

javascript web-audio-api

9
推荐指数
1
解决办法
2392
查看次数

标签 统计

javascript ×1

web-audio-api ×1