Input
sample
Sample to be changed
rate
New sample rate for the sample