![]() |
Mixxx
|
00001 #ifndef TONAL_TONALANALYSER_H 00002 #define TONAL_TONALANALYSER_H 00003 00004 #include "analyser.h" 00005 #include "ChordExtractor.hxx" 00006 00007 class TonalAnalyser : public Analyser { 00008 00009 public: 00010 TonalAnalyser(); 00011 void initialise(TrackInfoObject* tio, int sampleRate, int totalSamples); 00012 void process(const CSAMPLE *pIn, const int iLen); 00013 void finalise(TrackInfoObject* tio); 00014 00015 private: 00016 float m_time; 00017 bool m_bCanRun; 00018 Simac::ChordExtractor m_ce; 00019 }; 00020 00021 #endif