lib/minim/src/ddf/minim/analysis/WindowFunction.java
/** 
   * Apply the window function to a sample buffer.
   * 
   * @param samples a sample buffer
   */
Apply the window function to a sample buffer.

@param samples a sample buffer
Apply the window function to a sample buffer . @param samples a sample buffer
public void apply(float[] samples) 
  {
    this.length = samples.length;
    for (int n = 0; n < samples.length; n ++) 
    {
      samples[n] *= value(samples.length, n);
    }
  }
public void apply ( float [ ] samples ) { this . length = samples . length ; for ( int n = 0 ; n < samples . length ; n ++ ) { samples [ n ] *= value ( samples . length , n ) ; } }
Apply the window function to a sample buffer.
Apply the window function to a sample buffer .