Back to News
Advertisement
Advertisement

⚡ Community Insights

Discussion Sentiment

100% Positive

Analyzed from 185 words in the discussion.

Trending Topics

#string#strings#motion#karplus#instead#simulating#parts#low#filter#need

Discussion (4 Comments)Read Original on HackerNews

gsliepen35 minutes ago
The simplest form of string synthesis is perhaps the Karplus-Strong algorithm (https://en.wikipedia.org/wiki/Karplus%E2%80%93Strong_string_...). Instead of simulating the motion of all parts of the string for each timestep, it simplifies it to a perfect transmission of motion, except at the end of the string where some function will be applied that captures the losses from the motion, typically by performing a simple low-pass filter. Computationally it is very efficient: just a few FMA operations per sample. The drawback is that you need a buffer to store the state of the string, which can be quite large (especially for low frequencies which correspond to long strings), and you need to read and write to different parts of this buffer. Thus, if you are simulating multiple strings, it's more likely that memory bandwidth will be the bottleneck instead of raw compute power.
IsTom44 minutes ago
Does it take nonlinearity of strings into account? In the demo I can't really hear it and to me it ends up sounding like the comb filter synths you get without it.
ameliusabout 1 hour ago
This simulates the displacement of the string, but the hard part seems to be to simulate how that string affects the air and induces a sound.
IsTom41 minutes ago
Considering that there's a pickup in the model, air doesn't matter. And in typical string instruments the loud part you mostly hear is coming from sound box through bridge, not from strings themselves.