- #1
btb4198
- 572
- 10
http://en.wikipedia.org/wiki/Karplus–Strong_string_synthesis
ok I just want to make sure I understand how this works.
you have N with = fs/fo .
fs is sampling rate = 44100Hz
Fo is the note you want to play like 440hz
then you make an array of N sizes and full it up with random value between 0.5 and -0.5
then you outputs the array from 0 to N then after N you do this
output = the 1st value of Array and the second value of the Array / by 2 * 0.995
and you keep doing this until output is 0?
is that right ?
ok I just want to make sure I understand how this works.
you have N with = fs/fo .
fs is sampling rate = 44100Hz
Fo is the note you want to play like 440hz
then you make an array of N sizes and full it up with random value between 0.5 and -0.5
then you outputs the array from 0 to N then after N you do this
output = the 1st value of Array and the second value of the Array / by 2 * 0.995
and you keep doing this until output is 0?
is that right ?