00001 00010 #ifndef PITCHMARK_PARSER_H 00011 #define PITCHMARK_PARSER_H 00012 00013 #include <cstdio> 00014 #include <string> 00015 00016 extern "C" int parse_dur(const char *, double **); 00017 00018 00023 class PitchmarkParser { 00024 protected: 00025 int size; 00026 double * points; 00027 00028 public: 00029 PitchmarkParser(std::string fileName); 00030 ~PitchmarkParser(); 00031 00032 double * getData(); 00033 int getLength(); 00034 void print(); 00035 }; 00036 // end of group boss_ola 00038 00039 #endif /* end of PITCHMARK_PARSER_H */ 00040