Change sampling frequency