create an echo effect

Hello. I ran across this code online but I need help understanding it, especially the for-loop at the end. The purpose of this code is to create an echo effect on an audio file. Here is a screenshot of it and I also attached the link: http://ashanpeiris.blogspot.com/2015/03/how-to-add-echo-effect-to-audio-signal.html Thanks.

 Accepted Answer

Image Analyst
Image Analyst on 12 Oct 2019

0 votes

The loop just goes through each time point in the signal adding in a fraction of the signal from an earlier time point.
Attach your code as an m-file with the paper clip icon if you need more help so people can run it.

More Answers (0)

Categories

Find more on Audio Processing Algorithm Design in Help Center and File Exchange

Asked:

Kat
on 12 Oct 2019

Answered:

on 12 Oct 2019

Community Treasure Hunt

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

Start Hunting!