Karplus strong algorithm for echo production in audio
Version 1.0.0 (1.71 KB) by
Qaiser khan Bozdar
KS function is the Karplus Strong algorithm loop which produces echo in an audio signal.
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 LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |