00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef MARSYAS_HWPSspectrum_H
00020 #define MARSYAS_HWPSspectrum_H
00021
00022 #include "MarSystem.h"
00023 #include "Series.h"
00024
00025 namespace Marsyas
00026 {
00038 class WHaSp: public MarSystem
00039 {
00040 private:
00041 Series* HWPSnet_;
00042 realvec simMatrix_;
00043
00044 MarControlPtr ctrl_histSize_;
00045 MarControlPtr ctrl_totalNumPeaks_;
00046 MarControlPtr ctrl_frameMaxNumPeaks_;
00047
00048 void createSimMatrixNet();
00049 void addControls();
00050 void myUpdate(MarControlPtr sender);
00051
00052 public:
00053 WHaSp(std::string name);
00054 WHaSp(const WHaSp& a);
00055 ~WHaSp();
00056 MarSystem* clone() const;
00057
00058 void myProcess(realvec& in, realvec& out);
00059 };
00060
00061 }
00062
00063 #endif