commit | 6e6b0a06893db20e6124fef7ab7bdba62b32c6ba | [log] [tgz] |
---|---|---|
author | Tamas Hubai <mpw@htamas.net> | Sat Jan 01 06:54:25 2022 +0100 |
committer | Tamas Hubai <mpw@htamas.net> | Sat Jan 01 06:54:25 2022 +0100 |
tree | f8048e5609a6de461f863a3924e7afa3e5a219ec | |
parent | d59ca0256aaed5be281ba9995f6125a318414655 [diff] |
Add a second string
Physically modeled guitar strings using the Karplus-Strong algorithm with some extensions by Jaffe & Smith.
The string model is built from primitive digital filters like white noise, delay, fader, lowpass & allpass connected by patch cables that form a feedback loop. The patch configuration is described in ks_string.v
. Individual filters are implemented in ks_noise.v
, ks_delay_*.v
, ks_fader.v
, ks_feedback.v
, ks_tuning.v
and ks_dynamics.v
. You may wish to follow the original articles for more details:
Strings can be set up, tuned, plucked or muted via the wishbone bus. The default build contains a single string, but it can be reconfigured for multiple strings with sympathetic resonsances by editing defines.v
.
Being a fully digital design audio is output via the I2S protocol, so you'll need a DAC chip (“soundcard”) such as CS4344, UDA1334A or MAX98357A to get analog output.