Mercurial > hg > multitrack-audio-matcher
view annotationCalculatorSrc/EwertAnnotationReader.h @ 50:93d21c20cfbc
Added Markers and the ability to switch to these points in the file when playing
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Thu, 14 Jun 2012 20:04:49 +0100 |
parents | |
children |
line wrap: on
line source
/* * EwertAnnotationReader.h * annotationResultCalculator * * Created by Andrew on 14/05/2012. * Copyright 2012 QMUL. All rights reserved. * */ #ifndef EWERT_ANNOTATION_READER #define EWERT_ANNOTATION_READER #include "ofMain.h" // basic file operations for text file stuff #include <iostream> #include <fstream> using namespace std; class EwertAnnotationReader{ public: EwertAnnotationReader(); typedef std::vector<double> DoubleVector; //DoubleVector beatTimes; typedef std::vector<DoubleVector> DoubleMatrix; DoubleMatrix alignmentTimes; void readInBeatsFile(std::string& pathName); bool swapOrder; void clearAlignmentMatrix(); bool annotationsLoaded; }; #endif