ddf.minim.analysis
Class BlackmanWindow

java.lang.Object
  extended by ddf.minim.analysis.WindowFunction
      extended by ddf.minim.analysis.BlackmanWindow

public class BlackmanWindow
extends WindowFunction

A Blackman window function.

Author:
Damien Di Fede, Corban Brook
See Also:
The Blackman Window

Field Summary
protected  float alpha
           
 
Fields inherited from class ddf.minim.analysis.WindowFunction
length, TWO_PI
 
Constructor Summary
BlackmanWindow()
          Constructs a Blackman window with a default alpha value of 0.16
BlackmanWindow(float alpha)
          Constructs a Blackman window.
 
Method Summary
protected  float value(int length, int index)
           
 
Methods inherited from class ddf.minim.analysis.WindowFunction
apply, generateCurve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

alpha

protected float alpha
Constructor Detail

BlackmanWindow

public BlackmanWindow(float alpha)
Constructs a Blackman window.


BlackmanWindow

public BlackmanWindow()
Constructs a Blackman window with a default alpha value of 0.16

Method Detail

value

protected float value(int length,
                      int index)
Specified by:
value in class WindowFunction