Mercurial > hg > multitrack-audio-matcher
view annotationCalculatorSrc/EwertAnnotationReader.h @ 53:5274e3b5479d
Smoothed output, added tempo distribution variation to match the output
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Tue, 14 Aug 2012 21:45:12 +0100 |
parents | 93d21c20cfbc |
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