Mercurial > hg > multitrack-audio-matcher
diff src/AudioEventMatcher.h @ 0:c4f9e49226eb
Initialising repository. Live osc input registered. Files analysed offline.
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Tue, 31 Jan 2012 13:54:17 +0000 |
parents | |
children | 852173ca8365 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/AudioEventMatcher.h Tue Jan 31 13:54:17 2012 +0000 @@ -0,0 +1,40 @@ +/* + * AudioEventMatcher.h + * MultipleAudioMathcher + * + * Created by Andrew on 31/01/2012. + * Copyright 2012 QMUL. All rights reserved. + * + */ + + + +#ifndef AUDIO_EVENT_MATCHER_H +#define AUDIO_EVENT_MATCHER_H + + +#include "ofMain.h" +#include "ChromaOnset.h" +#include "LiveAudioInput.h" +#include "ofxWindowRegion.h" +#include "BayesianArrayStructure.h" + +class AudioEventMatcher{ + + public: + AudioEventMatcher(); + + void setArraySizes(); + + void draw(); + + BayesianArrayStructure bayesianStruct;//hold the probability distriubtions + + LiveAudioInput liveInput;//hold the new events that come in + + ofxWindowRegion bayesTempoWindow; + ofxWindowRegion bayesPositionWindow; + + +}; +#endif