dsp recording thresholding