简体   繁体   English

以编程方式使用iPhone麦克风

[英]Working with iPhone microphone programmatically

I'm developing an iPhone 3.1 application. 我正在开发iPhone 3.1应用程序。

I want control by voice a text. 我想通过语音控制文本。 If a person blows over microphone, the text will appear. 如果有人将麦克风吹过去,则会显示文字。 If that person is blowing strong the text will appear quickly, but if he is faintly blowing the text will appear slowly. 如果那个人吹得很厉害,文本会很快出现,但是如果他淡淡的吹动,则文本就会很慢出现。

I want to control if there is a sound over microphone, and the volume (high or low). 我想控制麦克风上是否有声音以及音量(高或低)。

Is that possible? 那可能吗?

Is this of any use? 这有用吗?

A simple class for listening to microphone levels, suitable for the iPhone. 一个简单的类,用于监听麦克风电平,适用于iPhone。

Here is the link: https://github.com/stephencelis/sc_listener 这是链接: https : //github.com/stephencelis/sc_listener

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM