Karplus strong algorithm for echo production in audio

KS function is the Karplus Strong algorithm loop which produces echo in an audio signal.
22 Downloads
Updated 22 Sep 2021

View License

KS function is the Karplus-Strong algorithm loop.
KS difference equation derived from Moving average. y[n]=x[n]+ay[n-M].
The Karplus-Strong algorithm is a simple digital feedback loop with an internal buffer of M samples. The buffer is filled with a set of initial values (signal) and the loop, when running, produces an arbitraryly long output signal (iterative echo of sound). It is a simple recursive (starts where it ends) algorithm drived from moving average filter. It is extensively used as sound synthesizer.
The diagram given in the icon image is the functional circuit for Karplus strong algorithm.

Cite As

Qaiser khan Bozdar (2024). Karplus strong algorithm for echo production in audio (https://www.mathworks.com/matlabcentral/fileexchange/99694-karplus-strong-algorithm-for-echo-production-in-audio), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

Version Published Release Notes
1.0.0