Audio Queues for multi channel real time audio processing on Mac
I have a 4 mic array connected开发者_Python百科 to an iMac via an external audio interface (RME Fireface). I need to record from all 4 simultaneously, get individual signals, perform some operations, and play an output sound, all in real time.
First of all, the audio inputs in Mac system preferences does not show 4 separate devices but just one RME FireFace. How then, can i find the port addresses for each mic?
Secondly, the main question - Can i use Audio Queues for this purpose? The Audio queues documentation has no clear information on multi channel audio input and signal processing.
Audio Queues does not support input from 4 channels simultaneously, based on [this thread].(http://www.mailinglistarchive.com/html/coreaudio-api@lists.apple.com/2011-01/msg00174.html).
You probably have to go with CoreAudio, which is a lower level API but claims "scalable multichannel input and output" which is exactly what you want.
精彩评论