Warning: Unable to play audio because no audio outputs were found.

66 visualizaciones (últimos 30 días)
Mark Graves
Mark Graves el 30 de Abr. de 2021
Comentada: Cris LaPierre el 12 de En. de 2023
I'm using MATLAB online for a Coursera class and I'm trying to play a simple sound. but I am receiving this warning. I've seen where others were advise to us "sound" to play a tune, but that is what I am using but no luck. I'm running MATLAB from Chrome. Please let me know what I can do to hear the output.
load gong.mat
sound(y, Fs)
Warning: Unable to play audio because no audio outputs were found.
> In audiovideo.internal/audioplayerOnline/hasNoAudioHardware (line 473)
In audiovideo.internal/audioplayerOnline/initialize (line 310)
In audiovideo.internal.audioplayerOnline (line 152)
In audioplayer (line 134)
In sound (line 74)
  5 comentarios
Suzanne
Suzanne el 12 de En. de 2023
I think I'm taking the same course Mark was and am having the same problem with MATLAB Online on Chrome.
load gong
sound(y,Fs)
Warning: No audio outputs were found.
> In audiovideo.internal/audioplayerOnline/hasNoAudioHardware (line 491)
In audiovideo.internal/audioplayerOnline/initialize (line 327)
In audiovideo.internal.audioplayerOnline (line 175)
In audioplayer (line 134)
In sound (line 74)
Warning: No audio outputs were found.
> In audiovideo.internal/audioplayerOnline/hasNoAudioHardware (line 491)
In audiovideo.internal/audioplayerOnline/play (line 200)
In audioplayer/play (line 349)
In sound (line 77)
Not sure why it's giving 2 warnings either.
Cris LaPierre
Cris LaPierre el 12 de En. de 2023
See Geoff Hayes response above. Did you grant MATLAB permission to use your microphone? If not, you will get the exact error messages you have pasted in your comment.

Iniciar sesión para comentar.

Respuestas (1)

Cris LaPierre
Cris LaPierre el 3 de En. de 2022
Not sure what was happening over the weekend, but when I checked again today, it worked.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by