Microphone not recognized by daq.getDevices()

2 ビュー (過去 30 日間)
Simon Jones
Simon Jones 2019 年 4 月 7 日
回答済み: Gabriele Bunkheila 2019 年 4 月 8 日
I would like to set up a Continuous Audio Data display as described here:
I am attempting to use my built-in microphone, but no devices are recognized:
getDevices.png
however it appears the device is visible via SimuLink:
Audio_Device_Reader.png
Do you have any advice on what can be done to recognize the microphone?
  2 件のコメント
Walter Roberson
Walter Roberson 2019 年 4 月 7 日
Did you install the DirectSound audio support package?
Simon Jones
Simon Jones 2019 年 4 月 7 日
Thanks for the tip Walter! It wasn't that exactly, but it lead me to the Data Acquisition Toolbox Support Package for Windows Sound Cards:
Everything seems to be working as expected now.

サインインしてコメントする。

採用された回答

Gabriele Bunkheila
Gabriele Bunkheila 2019 年 4 月 8 日
Hi Simon,
I have just noticed your question – since I work on Audio Toolbox I thought I'd drop you a line.
If you work with audio inputs on a regular basis, you may want to consider using audioDeviceReader in MATLAB too. The benefits on top of my head include:
  • Support for low-latency drivers across the three supported OS ASIO for Windows, CoreAudio for MacOS, ALSA for Linux. Depending on the sound card and the OS, that could mean down to 3-5ms of round-trip latency
  • Support for synchronous acquisition of multiple channels in parallel multiple-channel sound card are usually unsupported by the standard plug & play drivers except for the first two channels
  • Designed (in C++) to execute fast
  • Offers a System object interface for continuous streaming, which MATLAB users find simpler than callback-based patterns based on my experience (as in requiring fewer lines of code and less advanced MATLAB expertise)
Good luck with your project!
Gabriele.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAudio I/O and Waveform Generation についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by