开发者

iphone - How can i read the microphone input?

开发者 https://www.devze.com 2023-01-13 06:42 出处:网络
How can i 开发者_运维知识库read the sound data from the microphone? I don\'t want to record and then access the data, i want to be able to access the sound input live?You can record sound (PCM samples

How can i 开发者_运维知识库read the sound data from the microphone? I don't want to record and then access the data, i want to be able to access the sound input live?


You can record sound (PCM samples) from the microphone to very short memory buffers (as short as a few milliseconds in duration). That's as close to "live" as there is using iOS API's. Look at the aurioTouch example for low latency AudioUnit RemoteIO recording code, with live FFT analysis and display.


Check this link:

http://code.google.com/p/ios-coreaudio-example/

Captures from Microphone & plays through speaker.

0

精彩评论

暂无评论...
验证码 换一张
取 消