Problems with Data Adquisition using DirectSound

2 次查看(过去 30 天)
I got an error, "Audioinput" not supported in this device, but no problems with AudioOutput.

回答(1 个)

Star Strider
Star Strider 2017-5-17
I don’t have the Data Acquisition Toolbox, so I have no experience with it. I’m also not certain what you’re doing.
However a brief dive through the documentation reveals Multichannel Audio Input and Output (link) in which is:
  • You cannot read directly from or write directly to files using the multichannel audio feature. Use audioread and audiowrite.
  1 个评论
Hao Chen
Hao Chen 2021-3-15
Basically, the toolbox has bugs, leading the examples can not be reproduced.
The step dq = daq("directsound")will get an error message
Please try
or
https://www.mathworks.com/help/daq/multichannel-audio-generation-using-an-audio-session.html

请先登录,再进行评论。

类别

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