00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef MARSYAS_SFM_H
00020 #define MARSYAS_SFM_H
00021
00022 #include "MarSystem.h"
00023
00024 namespace Marsyas
00025 {
00038 class SFM: public MarSystem
00039 {
00040 private:
00041 mrs_natural nrBands_;
00042 mrs_natural nrValidBands_;
00043
00044 realvec edge_;
00045 realvec bandLoEdge_;
00046 realvec bandHiEdge_;
00047
00048 mrs_natural spectrumSize_;
00049 mrs_real df_;
00050
00051 std::vector<mrs_natural> il_;
00052 std::vector<mrs_natural> ih_;
00053
00054 void myUpdate(MarControlPtr sender);
00055
00056 public:
00057 SFM(std::string name);
00058 ~SFM();
00059 MarSystem* clone() const;
00060
00061 void myProcess(realvec& in, realvec& out);
00062 };
00063
00064 }
00065
00066 #endif
00067
00068
00069
00070
00071