fix the sampling rate and decimation