im using this equation to calculate the difference between samples as it cycles through a buffer in order to adjust pitch.
Button clicks call the function above but it only ever makes my sample increase?
What values is newRate
taking? Any positive number will result in pow(2, (newRate)/12)
being greater than 1.