Searched refs:rms (Results 1 – 5 of 5) sorted by relevance
255 double rms = 0; in goertzel() local262 rms += x * x; in goertzel()264 rms = Math.sqrt(rms / n); in goertzel()266 return Math.sqrt(magnitude) / n / rms; in goertzel()
155 float rms = count > 0 ? (float)Math.sqrt(rmsTempSum / count) : 0f; in updateRms() local156 if (rms < MIN_RMS_VAL) { in updateRms()157 rms = MIN_RMS_VAL; in updateRms()161 double total_rms = rms * alpha + mRmsCurrent * (1.0f - alpha); in updateRms()
176 double rms = Math.sqrt(rmsTempSum / samplesNeeded); in onCreate()178 double total_rms = rms * RMS_SMOOTHING_PARAM + mRMS * (1 - RMS_SMOOTHING_PARAM); in onCreate()
1105 double rms = Math.sqrt(rmsTempSum / samplesNeeded); in onPeriodicNotification() local1108 double total_rms = rms * alpha + mRMS *(1-alpha); in onPeriodicNotification()
242 double rms; in processDataSet() local244 rms = Math.sqrt(calcSqrErr(vrecs, srecs2, 0)+ calcSqrErr(vrecs, srecs2, 1)); in processDataSet()245 if (rms < min_rms) { in processDataSet()246 min_rms = rms; in processDataSet()