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