反应天然 - 麦克风语音波
我目前正在在正在处理的应用程序中实现录音机。 一切都很好,但是我找不到捕获麦克风声波的方法,这会使应用看起来更好。 你们中有人知道我可以使用的库,还是一个本机解决方案来找到这些值?我可以自己制作动画。
I am currently implementing an audio recorder in the app I am working on.
Everything works great, but I cannot find a way to capture the sound waves of the microphone, which would make the app look even better.
Do any one of you guys know a library that I could use, or a Native solution to find these values? I can make the animations myself.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决方案非常简单,有一个名为Hark的库,可以帮助您收听音频流和发射事件(说话/不说话),
这是带有NPM的库链接: https://www.npmjs.com/package/hark
示例:
The solution is very easy, there is a library called hark which can help you to listen to audio streams and emit events (speaking / not speaking)
Here is the library link with NPM: https://www.npmjs.com/package/hark
Example: