Mercurial > hg > audio-file-loader
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:bcb0d40158f4 |
---|---|
1 /* | |
2 * AudioAnalysis.h | |
3 * audioFileLoader4 | |
4 * | |
5 * Created by Andrew on 14/08/2011. | |
6 * Copyright 2011 QMUL. All rights reserved. | |
7 * | |
8 */ | |
9 | |
10 #ifndef AUDIO_ANALYSIS_H | |
11 #define AUDIO_ANALYSIS_H | |
12 | |
13 | |
14 #include "fftw3.h" | |
15 #include "ofMain.h" | |
16 #include "chromaGram.h" | |
17 #include "ChordDetect.h" | |
18 #include "sndfile.h" | |
19 #include "ofxFileDialogOSX.h" | |
20 #include "AudioFile.h" | |
21 | |
22 //this does a chromagram analysis and aubio onset analysis | |
23 //held in double matrix and doubleVector respectively | |
24 //these are dynamic vectors, so size set by what's needed for the file | |
25 | |
26 class AudioAnalysis{ | |
27 | |
28 public: | |
29 /* | |
30 double getEnergyOfFrame(); | |
31 // void putEnergyInFrame(); | |
32 | |
33 void initialiseVariables(); | |
34 | |
35 | |
36 typedef std::vector<double> DoubleVector; | |
37 typedef std::vector<DoubleVector> DoubleMatrix; | |
38 | |
39 */ | |
40 | |
41 | |
42 }; | |
43 #endif | |
44 | |
45 | |
46 |