Unable to play audio because no audio outputs were found
29 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Luciano Muratore
le 9 Nov 2019
Réponse apportée : Ajay Pattassery
le 12 Nov 2019
Hi there,
I am using the MATLAB Online R2019b version.
When I try to run the next code:
load handel;
p=audioplayer(y,Fs);
play(p, [1 get(p, 'SampleRate')*3]);
And, the Error that I get is:
Warning: Unable to play audio because no audio outputs were found.
1 commentaire
Walter Roberson
le 9 Nov 2019
"MATLAB Online cannot interact with most other hardware, including instrument control."
Réponse acceptée
Ajay Pattassery
le 12 Nov 2019
If you just want to play the music in MATLAB Online, you could use ‘sound’ instead. But it will have lesser capabilities compared to ‘audioplayer’ object.
load handel;
sound(y,Fs);
0 commentaires
Plus de réponses (0)
Communautés
Plus de réponses dans Distance Learning Community
Voir également
Catégories
En savoir plus sur Audio and Video Data 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!