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.

 采纳的回答

Image Analyst
Image Analyst 2019-10-12

0 个投票

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.

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by