Is there a way to give real time audio as input and get multiple channel output ?

조회 수: 5 (최근 30일)
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?

채택된 답변

Walter Roberson
Walter Roberson 2017년 5월 17일
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
Walter Roberson
Walter Roberson 2017년 5월 18일
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.
Arvind Ramanathan
Arvind Ramanathan 2017년 5월 18일
편집: Arvind Ramanathan 2017년 5월 18일
That was an excellent explanation. Thanks a lot!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Direction of Arrival Estimation에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by