lib/minim/src/ddf/minim/analysis/WindowFunction.java
/**
   * Apply the window to a portion of this sample buffer,
   * given an offset from the beginning of the buffer 
   * and the number of samples to be windowed.
   * 
   * @param samples
   * 		float[]: the array of samples to apply the window to
   * @param offset
   * 		int: the index in the array to begin windowing
   * @param length
   * 		int: how many samples to apply the window to
   */
Apply the window to a portion of this sample buffer,
given an offset from the beginning of the buffer
and the number of samples to be windowed.

@param samples
float[]: the array of samples to apply the window to
@param offset
int: the index in the array to begin windowing
@param length
int: how many samples to apply the window to
Apply the window to a portion of this sample buffer given an offset from the beginning of the buffer and the number of samples to be windowed . @param samples float [] : the array of samples to apply the window to @param offset int : the index in the array to begin windowing @param length int : how many samples to apply the window to
public void apply(float[] samples, int offset, int length)
  {
	  this.length = length;
	  for(int n = offset; n < offset + length; ++n)
	  {
		  samples[n] *= value(length, n - offset);
	  }
  }
public void apply ( float [ ] samples , int offset , int length ) { this . length = length ; for ( int n = offset ; n < offset + length ; ++ n ) { samples [ n ] *= value ( length , n - offset ) ; } }
Apply the window to a portion of this sample buffer,
 given an offset from the beginning of the buffer
 and the number of samples to be windowed.
Apply the window to a portion of this sample buffer given an offset from the beginning of the buffer and the number of samples to be windowed .