Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Karplus-strong algorithm

  1. Oct 21, 2014 #1

    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 ?
  2. jcsd
  3. Oct 26, 2014 #2
    Thanks for the post! Sorry you aren't generating responses at the moment. Do you have any further information, come to any new conclusions or is it possible to reword the post?
  4. Oct 26, 2014 #3
    ok can Some one please explain to me how
    Karplus-strong algorithm works ?
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook