Adding echo and flanger

4 visualizaciones (últimos 30 días)
Maitha Ahmad
Maitha Ahmad el 2 de Mayo de 2020
Respondida: Ajay Pattassery el 5 de Mayo de 2020
through the online version of MATLAB i tryed to run the following code but there are errors
how can i solve it ?
load handel.mat
filename = 'handel.wav'
audiowrite(filename,y,Fs);
duration = 30; % in seconds
audioDelayEffectsExampleApp('echo',duration);
duration = 30; % in seconds
audioDelayEffectsExampleApp('chorus',duration);
duration = 30; % in seconds
audioDelayEffectsExampleApp('flanger',duration);
open_system('audiodelaybasedeffects')
  1 comentario
Geoff Hayes
Geoff Hayes el 3 de Mayo de 2020
Maitha - what are the errors? There are some MATLAB Online limitations that might be related to the audio functions that you are trying to execute.

Iniciar sesión para comentar.

Respuestas (1)

Ajay Pattassery
Ajay Pattassery el 5 de Mayo de 2020
I mostly guess the following would have been the error.
Error using audioDeviceWriter/validatePropertiesImpl
No audio output device detected
Error in audioDeviceWriter/play
The app audioDelayEffectsExampleApp uses audioDeviceWriter to play the sound to the sound card. It belongs to Audio Toolbox and currently it is not supported in MATLAB Online.
I suggest you using a normal installed MATLAB version.Refer the following site for Installing MATLAB if you already not.

Categorías

Más información sobre Simulation, Tuning, and Visualization en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by