Adding echo and flanger

6 次查看(过去 30 天)
Maitha Ahmad
Maitha Ahmad 2020-5-2
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 个评论
Geoff Hayes
Geoff Hayes 2020-5-3
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.

请先登录,再进行评论。

回答(1 个)

Ajay Pattassery
Ajay Pattassery 2020-5-5
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.

类别

Help CenterFile Exchange 中查找有关 Audio Processing Algorithm Design 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by