Mercurial > hg > precise-onset-detection
view src/BeatAnnotations.h @ 8:184a7c232049 tip
changed files since updating computer
author | Venetian |
---|---|
date | Thu, 14 Aug 2014 17:53:57 +0100 |
parents | 1e636a3511fb |
children |
line wrap: on
line source
/* * BeatAnnotations.h * BeatAnnotationViewer * * Created by Andrew on 31/10/2013. * Copyright 2013 QMUL. All rights reserved. * */ #ifndef BEAT_ANNOTATIONS_H #define BEAT_ANNOTATIONS_H #define FRAMESIZE 512 #include "NoteDataReader.h" class BeatAnnotations{ public: BeatAnnotations(); void draw(); void loadBeatsFromAnnotations(std::string filename); int processAudioForBeatTimes(std::string audiofile); //vars typedef std::vector<double> DoubleVector; DoubleVector beatTimes;///beats in seconds NoteDataReader reader; }; #endif