marytts.signalproc.window
Class BartlettWindow

java.lang.Object
  extended by marytts.signalproc.window.Window
      extended by marytts.signalproc.window.BartlettWindow
All Implemented Interfaces:
CopyingDataProcessor, InlineDataProcessor

public class BartlettWindow
extends Window

Author:
Marc Schröder Implements a Bartlett window

Field Summary
 
Fields inherited from class marytts.signalproc.window.Window
BARTLETT, BLACKMAN, evenLength, FLATTOP, GAUSS, HAMMING, HANNING, prescalingFactor, RECT, window
 
Constructor Summary
BartlettWindow(int length)
           
BartlettWindow(int length, double prescalingFactor)
           
 
Method Summary
protected  void initialise()
          The initialisation of the window array with multiplication factors corresponding to the specific windowing function.
static void main(java.lang.String[] args)
           
 java.lang.String toString()
           
 
Methods inherited from class marytts.signalproc.window.Window
apply, apply, apply, apply, apply, applyInline, applyInline, applyInline, get, get, getAvailableTypes, getCoeffs, getCoeffsLeftHalf, getCoeffsRightHalf, getLength, getTypeByName, getTypeName, normalize, normalize, normalizePeakValue, normalizeRange, normalizeSquaredSum, type, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BartlettWindow

public BartlettWindow(int length)

BartlettWindow

public BartlettWindow(int length,
                      double prescalingFactor)
Method Detail

initialise

protected void initialise()
Description copied from class: Window
The initialisation of the window array with multiplication factors corresponding to the specific windowing function. This needs to be implemented by each subclass.

Specified by:
initialise in class Window

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

main

public static void main(java.lang.String[] args)