Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

gapecoswindow.h

00001 //gapecoswindow.h
00002 //Randal Leistikow, Dave Chisholm dkc@ccrma.stanford.edu 11/28/00
00003 
00004 #ifndef _GAPE_COSWINDOW_H
00005 #define _GAPE_COSWINDOW_H
00006 
00007 #include "gapeunit.h"
00008 
00016 class GapeCosWindow : public GapeUnit
00017 {
00018   Q_OBJECT
00019   public:
00023         enum{HANNING, HAMMING, BLACKMAN};
00024 
00030     GapeCosWindow(int windowLength, int windowType = HANNING);
00034     virtual ~GapeCosWindow();
00035 
00036 
00037   public slots:
00043     virtual void receiveTick(const GapeFloat* values, int numValues);
00044 
00045     private:
00046         virtual void computeWindow(int windowLength);
00047         int        d_windowLength;
00048         int        d_windowType;
00049         GapeFloat*  d_windowSamples;
00050         GapeFloat*  d_window;
00051 };
00052 
00053 
00054 #endif // _GAPE_COSWINDOW

Generated at Thu Jun 21 13:28:49 2001 for GAPE by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001