Problems with Data Adquisition using DirectSound

I got an error, "Audioinput" not supported in this device, but no problems with AudioOutput.

2 件のコメント

Star Strider
Star Strider 2017 年 5 月 17 日
Context: Direct Sound (link)
Juan Santos
Juan Santos 2017 年 5 月 17 日
編集済み: Juan Santos 2017 年 5 月 17 日
Thank you for the info, but I need to use DirectSound form Data Aquisition Package, not from C++

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

回答 (1 件)

Star Strider
Star Strider 2017 年 5 月 17 日

0 投票

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

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

カテゴリ

ヘルプ センター および File ExchangeMultichannel Audio Input and Output についてさらに検索

質問済み:

2017 年 5 月 17 日

コメント済み:

2021 年 3 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by