MATLAB Answers

reverb effect in MATLAB

24 views (last 30 days)
adnan abid
adnan abid on 8 Jan 2021
Commented: adnan abid on 11 Jan 2021
I am new to matlab. i want to know if i have a audio file how will i add reverb effect to it. All i could find out by now is that matlab already has a function for that if anyone could help with this i would be really thankful


Sign in to comment.

Accepted Answer

jibrahim on 11 Jan 2021
Hi Adnan,
You can accomplish this with the reverberator object in Audio Toolbox:
Here is an example where you read a signal from a file and add reverb to it:
[audioIn, fs] = audioread('speech_dft.mp3');
r = reverberator('SampleRate',fs);
audioOut = r(audioIn);
See the ref page for information about reverberation parameters you can set.

  1 Comment

adnan abid
adnan abid on 11 Jan 2021
thank you so much for your help

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!