Searched refs:TWOPI (Results 1 – 1 of 1) sorted by relevance
25 private static final double TWOPI = Math.PI * 2; field in DspWindow146 value = 0.54 - 0.46 * Math.cos(TWOPI * i / (twoOverlap - 1)); in fillHamming()161 value = 0.54 - 0.46 * Math.cos(TWOPI * k / (twoOverlap - 1)); in fillHamming()181 value = 0.5 * (1.0 - Math.cos(TWOPI * i / (twoOverlap - 1))); in fillHanning()195 value = 0.5 * (1.0 - Math.cos(TWOPI * k / (twoOverlap - 1))); in fillHanning()