Mercurial > hg > audio-file-loader
diff src/AudioAnalysis.h @ 0:bcb0d40158f4
started audio file loader project - using oF_061
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Tue, 30 Aug 2011 20:18:34 +0100 |
parents | |
children | ba2a17cf81bf |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/AudioAnalysis.h Tue Aug 30 20:18:34 2011 +0100 @@ -0,0 +1,46 @@ +/* + * AudioAnalysis.h + * audioFileLoader4 + * + * Created by Andrew on 14/08/2011. + * Copyright 2011 QMUL. All rights reserved. + * + */ + +#ifndef AUDIO_ANALYSIS_H +#define AUDIO_ANALYSIS_H + + +#include "fftw3.h" +#include "ofMain.h" +#include "chromaGram.h" +#include "ChordDetect.h" +#include "sndfile.h" +#include "ofxFileDialogOSX.h" +#include "AudioFile.h" + +//this does a chromagram analysis and aubio onset analysis +//held in double matrix and doubleVector respectively +//these are dynamic vectors, so size set by what's needed for the file + +class AudioAnalysis{ + +public: + /* + double getEnergyOfFrame(); + // void putEnergyInFrame(); + + void initialiseVariables(); + + + typedef std::vector<double> DoubleVector; + typedef std::vector<DoubleVector> DoubleMatrix; + + */ + + +}; +#endif + + +