Discrete distance based pitch shifter.