create an echo effect

46 views (last 30 days)
Kat
Kat on 12 Oct 2019
Answered: Image Analyst on 12 Oct 2019
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
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 I/O and Waveform Generation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!