Problems with Data Adquisition using DirectSound

2 vues (au cours des 30 derniers jours)
Juan Santos
Juan Santos le 17 Mai 2017
Commenté : Hao Chen le 15 Mar 2021
I got an error, "Audioinput" not supported in this device, but no problems with AudioOutput.
  2 commentaires
Star Strider
Star Strider le 17 Mai 2017
Context: Direct Sound (link)
Juan Santos
Juan Santos le 17 Mai 2017
Modifié(e) : Juan Santos le 17 Mai 2017
Thank you for the info, but I need to use DirectSound form Data Aquisition Package, not from C++

Connectez-vous pour commenter.

Réponses (1)

Star Strider
Star Strider le 17 Mai 2017
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 commentaire
Hao Chen
Hao Chen le 15 Mar 2021
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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Multichannel Audio Input and Output dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by