FROM AGPEDIA — AGENCY THROUGH KNOWLEDGE

Karplus–Strong string synthesis

Karplus–Strong string synthesis makes plucked-string sounds by circulating a burst of noise through a delay line and a simple averaging filter. In physical terms it is a rigidly terminated ideal string with all of its losses consolidated at one point in a simple loss filter, "plucked" by filling the delay line with random numbers.[1:1] It showed, to everyone's surprise, that a physical model of a vibrating string could be reduced to a two-point average that needs no multiplications, with musically useful results.[2:1]

Block diagram: a noise burst enters an adder whose output goes to the loudspeaker and also into a delay of L samples, then through a low-pass filter back into the adder.
The Karplus–Strong loop: a burst of noise circulates through a delay line and a low-pass filter. PoroCYon · CC BY-SA 3.0

History

Kevin Karplus and Alex Strong were computer science students at Stanford, trying out wavetable synthesis on an 8-bit microcomputer. Strong had the idea of filtering the wavetable by a two-point average on each pass, to change the timbre over time; the result sounded curiously like a string almost whatever table it started from, and they settled on random numbers as the standard excitation. Strong played in a string quartet with the composer David Jaffe, who used the algorithm in his piece Silicon Valley Breakdown (1982). Jaffe's questions about controlling tuning, brightness and dynamic level led Julius Smith to the extensions, and Smith recognized the filtered delay loop as having the same structure as an idealized vibrating string. The Karplus–Strong and Extended Karplus–Strong algorithms were published in the same 1983 issue of the Computer Music Journal.[1:2]

How it works

Each pass round the loop goes through the averaging filter, which stands in for all of the string's losses, consolidated at one point. Without such damping a model string never decays and sounds more like a cheap electronic organ than a string.[1:3][1:1] Random numbers make a very energetic excitation, so in practice the noise is usually low-pass filtered first; the cutoff acts as a dynamic-level control, since real string instruments are brighter when played louder.[1:1]

Extensions

The Extended Karplus–Strong algorithm adds a pick-direction low-pass filter, a comb filter for the picking position, a string-damping filter, an allpass filter for string stiffness, a first-order allpass filter for fine tuning and a low-pass filter for dynamic level.[1:4]

Karplus–Strong was conceived as a wavetable technique and later recognized as a special case of McIntyre and Woodhouse's physical models of strings, which led to its musical extensions.[2:1] Seen as a digital waveguide model, the musical quality of the extended algorithm suggested around 1985 that very simplified travelling-wave models could capture what musical expression needs at very low computational cost.[1:2]

  1. ^a ^b ^c ↗ pa-ks ^a ^b ↗ pa-ks-history ^ ↗ pa-damping ^ ↗ pa-eks Smith III, Julius O. (2010). Physical Audio Signal Processing for Virtual Musical Instruments and Audio Effects. W3K Publishing. ISBN 978-0-9745607-2-4. https://ccrma.stanford.edu/~jos/pasp/.
  2. ^a ^b ↗ vp-ks Smith III, Julius O. (1991-10). Viewpoints on the History of Digital Synthesis. Proceedings of the International Computer Music Conference. https://ccrma.stanford.edu/~jos/kna/kna.pdf.

Wikidata: Q1734347

Available in