How to edit default Audio playback and Recording devices in Matlab
1 view (last 30 days)
Show older comments
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 Comments
Accepted Answer
Daniel Shub
on 28 Sep 2011
You might want to look into the psychtoolbox ( http://psychtoolbox.org/HomePage ) implementation of portaudio. It allows you to specify the device number.
0 Comments
More Answers (1)
Walter Roberson
on 23 Sep 2011
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.
See Also
Categories
Find more on Using audio files in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!