private void blackmanHarris4s(int size){
  int start=(windowFunction.length - size) / 2;
  int stop=(windowFunction.length + size) / 2;
  double scale=1.0 / (double)size / 0.4;
  for (int i=0; start < stop; start++, i++)   windowFunction[i]=scale * (0.40217 - 0.49703 * Math.cos(twoPI * i / size) + 0.09392 * Math.cos(2 * twoPI * i / size) - 0.00183 * Math.cos(3 * twoPI * i / size));
}

private void blackmanHarris4s ( int size ) { int start = ( windowFunction . length - size ) / 2 ; int stop = ( windowFunction . length + size ) / 2 ; double scale = 1.0 / ( double ) size / 0.4 ; for ( int i = 0 ; start < stop ; start ++ , i ++ ) windowFunction [ i ] = scale * ( 0.40217 - 0.49703 * Math . cos ( twoPI * i / size ) + 0.09392 * Math . cos ( 2 * twoPI * i / size ) - 0.00183 * Math . cos ( 3 * twoPI * i / size ) ) ; }
fill an array with the values of a 74 - db 4 - sample blackman - harris window function
