PortAudio Error: Internal PortAudio error

5 visualizaciones (últimos 30 días)
Jimmy Eadie
Jimmy Eadie el 28 de Ag. de 2021
Editada: Jimmy Eadie el 29 de Ag. de 2021
I am getting PortAudio Error: Internal PortAudio error, running an audio example >> audioTestBench('audiopluginexample.Echo')
Run Audio Test Bench on Mac.
Attempted changing output device, same error.
  5 comentarios
Jimmy Eadie
Jimmy Eadie el 29 de Ag. de 2021
Editada: Jimmy Eadie el 29 de Ag. de 2021
Thanks for the suggestion I appreciate it. I am using an external interface FF800 > thuderbolt. I then changed the internal sound to the Mac speakers in the hope this was the problem. Off/On reboots many times, then updated Matlab. The probelm started when I opened the audio test bench and tried to play a file, since then no audio will play. The sample rate of fs1 is 44100
Same error,
Error using sound (line 79)
Device Error: Internal Device error
When I check line 79,
play(playerObj(end));
catch exception
throw(exception);
end
Jimmy Eadie
Jimmy Eadie el 29 de Ag. de 2021
Editada: Jimmy Eadie el 29 de Ag. de 2021
So I took the nucleur option and uninstalled version 2020 and installed version R2021a. Using the just the mac audio. Attempted to load the handel.mat file same error:
>> sound(y,Fs);
Error using sound (line 79)
Device Error: Internal Device error
So just tried this:
>> deviceWriter = audioDeviceWriter;
>> info(deviceWriter)
ans =
struct with fields:
Driver: 'CoreAudio'
DeviceName: 'MacBook Pro Speakers'
MaximumOutputChannels: 2
>> sineGenerator = audioOscillator;
>> count = 0;
while count < 500
sine = sineGenerator();
deviceWriter(sine);
count = count + 1;
end
Error using audioDeviceWriter/setup
PortAudio Error: Internal PortAudio error
Error in audioDeviceWriter/setupImpl

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Audio I/O and Waveform Generation en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by