framed
Class RectangularWindow

java.lang.Object
  extended by framed.Window
      extended by framed.RectangularWindow
All Implemented Interfaces:
FrameSource

public class RectangularWindow
extends Window

Rectangular window. Boring.

Author:
sikoried

Constructor Summary
RectangularWindow(AudioSource source)
           
RectangularWindow(AudioSource source, int windowLength, int shiftLength)
           
 
Method Summary
 int getFrameSize()
          Return the length of the frames (needed for the read call)
 java.lang.String toString()
          Return a String representation of the FrameSource
 
Methods inherited from class framed.Window
create, getFrmeSize, getNumberOfFramesPerSecond, getShift, main, read, setShiftLength, setWindowLength, setWindowSpecs
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RectangularWindow

public RectangularWindow(AudioSource source)

RectangularWindow

public RectangularWindow(AudioSource source,
                         int windowLength,
                         int shiftLength)
Method Detail

getFrameSize

public int getFrameSize()
Description copied from interface: FrameSource
Return the length of the frames (needed for the read call)


toString

public java.lang.String toString()
Description copied from interface: FrameSource
Return a String representation of the FrameSource

Specified by:
toString in interface FrameSource
Overrides:
toString in class Window