Is there a way to give real time audio as input and get multiple channel output ?
4 views (last 30 days)
Show older comments
Arvind Ramanathan
on 17 May 2017
Edited: Arvind Ramanathan
on 18 May 2017
I want to give real-time audio as input and get multiple channel output and process each channel and send the output to an external DAC?
0 Comments
Accepted Answer
Walter Roberson
on 17 May 2017
Yes, that is generally possible, provided that you are willing to live with the latency (which will probably be over 12 ms even for ASIO devices.)
For this purpose you should probably avoid using USB microphones or DAC: they might not be able to handle your latency. In particular you must strongly avoid having the input sound and the output DAC be on the same USB controller.
3 Comments
Walter Roberson
on 18 May 2017
iTunes is not a signal.
I have never heard of an API that allowed an outside program to grab copies of the fully-decoded samples that iTunes is sending to the sound cards. The closest I can think of to that would be if you wrote a custom iTunes Visualizer that pushed out whatever information it was able to figure out, sending it to a place that MATLAB could use as input. It might be possible, but it would take a bit of work.
What you would normally do is either loop-back the iTunes signal (e.g., plug the headphone output back in to the mic jack), or else use microphones to record what you were getting from a speaker output. And then we are back to the microphone situation.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!