Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Karplus–Strong string synthesis
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== How it works == [[File:Karplus-strong-schematic.svg|center]] # A short excitation waveform (of length L samples) is generated. In the original algorithm, this was a burst of [[white noise]], but it can also include any [[wideband]] signal, such as a rapid [[sine wave]] [[chirp]] or frequency sweep, or a single cycle of a [[sawtooth wave]] or [[Square wave (waveform)|square wave]]. # This excitation is output and simultaneously fed back into a [[Analog delay line|delay line]] L samples long. # The output of the delay line is fed through a [[audio filter|filter]]. The [[Gain (electronics)|gain]] of the filter must be less than 1 at all frequencies, to maintain a stable [[positive feedback]] loop. The filter can be a first-order lowpass filter (as pictured). In the original algorithm, the filter consisted of averaging two adjacent samples, a particularly simple filter that can be implemented without a multiplier, requiring only shift and add operations. The filter characteristics are crucial in determining the harmonic structure of the decaying tone. # The filtered output is simultaneously mixed into the output and fed back into the delay line.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)