Image for Karplus-Strong algorithm

Karplus-Strong algorithm

The Karplus-Strong algorithm is a digital method to generate realistic plucked-string sounds. It works by creating a short burst of noise, then repeatedly passing it through a simple filter that averages and diminishes the sound over time. This process simulates how a real string's vibrations decay naturally. By adjusting parameters like the initial noise's pitch and the filter's settings, the algorithm can produce various string sounds, such as guitar or piano notes, efficiently and with minimal computation. It's widely used in digital sound synthesis for its simplicity and realism.