How to edit default Audio playback and Recording devices in Matlab
조회 수: 3 (최근 30일)
이전 댓글 표시
If I perform a getdevinfo on Matlab, I see a bunch of audio devices. I am using a 10 input, 14 output audio interface. Now the way this is detected in Matlab is,first device ID is Analog 1-2 channels, 2 device ID is for my computers sound card - Realtek, 3 is Analog 3-4, 4th is SPDIF 1-2, 5th is Analog 5-6....
I need to sort them out and place them in a order. Is there a way I could do that?
댓글 수: 0
채택된 답변
Daniel Shub
2011년 9월 28일
You might want to look into the psychtoolbox ( http://psychtoolbox.org/HomePage ) implementation of portaudio. It allows you to specify the device number.
댓글 수: 0
추가 답변 (1개)
Walter Roberson
2011년 9월 23일
Are you trying to group the analog channels all together in one device so that you can addchannel() them relative to one device instead of working with distinct devices?
If so then I do not recall having encountered any general method of doing that.
On the other hand, when I was looking at the user manual for your 10x14 device in response to one of your earlier questions, I recall that there was a paragraph indicating that the device could be configured as a set of stereo pairs for backwards compatibility with an older interface. If you are not forced to use that older interface, then possibly just configuring it out of that mode might be sufficient.
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!