00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef MARSYAS_ADRESSSTEREOSPECTRUM_H
00020 #define MARSYAS_ADRESSSTEREOSPECTRUM_H
00021
00022 #include "MarSystem.h"
00023
00024 namespace Marsyas
00025 {
00033 class ADRessStereoSpectrum: public MarSystem
00034 {
00035 private:
00036 mrs_natural N2_;
00037 mrs_natural beta_;
00038 mrs_real maxVal_;
00039 mrs_natural maxIndex_;
00040
00041 void addControls();
00042 void myUpdate(MarControlPtr sender);
00043
00044 public:
00045 ADRessStereoSpectrum(std::string name);
00046 ADRessStereoSpectrum(const ADRessStereoSpectrum& a);
00047 ~ADRessStereoSpectrum();
00048 MarSystem* clone() const;
00049
00050 void myProcess(realvec& in, realvec& out);
00051 };
00052
00053 }
00054
00055 #endif
00056