Iphone - How can I read the microphone input?

How can I read audio data from a microphone? I do not want to record and then access the data, I want to have access to live audio input?

+3
source share
2 answers

You can record sound (PCM samples) from the microphone to very short memory buffers (at least a few milliseconds). This is as close to live as using the iOS API. Check out the aurioTouch example for low-latency recording AudioUnit RemoteIO, with real-time analysis and display.

+4
source

Check out this link:

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

Microphone capture and speaker playback.

+4
source

Source: https://habr.com/ru/post/1762105/


All Articles