录音时获取麦克风音量
我正在使用 Android 文档 中显示的简单应用程序来玩录制和播放音频。只是为了添加一个小功能,我想在录音时获取麦克风的音量,以移动一个条,就像语音识别在您对着麦克风讲话时如何填充麦克风一样。我在网上查了一下,但似乎没有人有明确的答案,有人能指出我正确的方向吗?谢谢!
I'm using the simple app shown in the Android documentation to play around with recording and playing audio. Just to add a small feature, I want to get the volume of the microphone while it's recording to move a bar like how the voice recognition will fill the microphone while you are speaking into it. I looked around online, but no one seems to have a definitive answer, could someone point me in the right direction? Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为麦克风没有特定的音量。当您录制时,将媒体音量作为麦克风音量。
i think there is no specific volume for mic. when you are recording that takes media volume as mic volume.