Change sampling interval.