Sample Play back speed with pow(2, (newRate)/12);


#1

37

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?


#2

What values is newRate taking? Any positive number will result in pow(2, (newRate)/12) being greater than 1.