Lines Matching defs:THRESHOLD
629 private static final int THRESHOLD = 8; // absolute pseudo energy threshold
650 int threshold = THRESHOLD*sampleCount; // absolute energy threshold
678 if (energy > threshold && energy > (prevE * 2) && prevE != 0) {
679 // rising edge if energy doubled and > abs threshold
685 if (energy < threshold || energy < (prevE / 2)){
700 if (energy < threshold || energy < (peak / 2)) {