Searched refs:timeconstant (Results 1 – 1 of 1) sorted by relevance
243 double timeconstant; in process_dcfilter() local255 timeconstant = 1. / (inhdr.sample_rate / (double)DCfreq); in process_dcfilter()256 dcweight = 1. - timeconstant; in process_dcfilter()276 DCaverage = (DCaverage * dcweight) + (val * timeconstant); in process_dcfilter()