Best way to read and process multiple audio signals with specific hardware

1 次查看(过去 30 天)
I'm looking to read in 4-8 audio signals (each signal sampled from 20-44.1 kHz) and do some processing on them in real time (on my laptop). Currently, I'm planning on using a USB audio interface as the hardware to handle all of the inputs (I'm planning on getting this: http://www.amazon.com/M-Audio-M-Track-Eight-8-Channel-Interface/dp/B0010SZIQM ). What is the best approach here? I was thinking about using the data acquisition toolbox, but I'm not 100% sure if it'll work with the interface I'm planning on getting. Any help/comments/suggestions would be greatly appreciated. I'm also open to getting another interface, if it'll work better.

回答(1 个)

Walter Roberson
Walter Roberson 2015-12-1
Unfortunately, the specifications for the device leave out all mention of latency. Latency is a difficult issue with USB audio devices, especially under load.
Ideally you would prefer to use a device with more direct connections, such as PCI express. Possibly these days, PCIe over a Thunderbolt connector would work as well; I do not have any experience on that, but PCIe over Thunderbolt is part of the design.
Along with the more direct connector, you would want to use ASIO drivers; they are the fastest drivers at present. There is a File Exchange contribution for using ASIO drivers, and ASIO driver support is now built in to the DSP Toolbox, which you should consider using for your signal processing.
The Data Acquisition Toolbox can help a fair bit with connecting to DAQ, including DAQ equipment that supports VISA over USB. I would suggest that the DAQ be considered for situations where you want to time-stamp your samples (such as to synchronize tracks).
What I would definitely avoid for your situation is devices that offer only plain "serial over USB" and use a command/response method of data transfer, especially if the data is represented as text. Those connection methods tend to have high latency.

类别

Help CenterFile Exchange 中查找有关 Multichannel Audio Input and Output 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by