如何在android中通过编程打开() MIC
我要创建一个声音强度级别的应用程序,在这个应用程序中,我需要在我的应用程序运行时打开麦克风。我可以这样做吗
请帮助我
,谢谢
I am going to create an app that is Sound Intensity level,in this app I need to ON MIC when my app is running.can I do this
Please help me
Thankyou
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来你不能只“打开”麦克风并让它坐下来收集数据而不进行录音。从我读到的一点来看,他们会记录一小段时间并分析该数据,然后重复......只要您需要应用程序运行。这里有三个链接,听起来他们正在做与您想要的类似的事情。希望这有帮助。
Android:无需录制即可获取实时幅度/电平的示例麦克风?
返回麦克风输入的幅度不录音
Android:不录音的示例麦克风获得实时幅度/电平?
It doesn't look like you can just "turn on" the microphone and let it sit to gather data without recording. From the little bit I've read, they record for a brief period of time and analyze that data, and repeat.. for as long as you need the app to run. Here are three links where they sound like they're doing something similar to what you want. Hope this helps.
Android: sample microphone without recording to get live amplitude/level?
Return amplitude of the mic input when not recording
Android: sample microphone without recording to get live amplitude/level?