Mercurial > hg > multitrack-audio-matcher
annotate 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 |
rev | line source |
---|---|
andrew@0 | 1 /* |
andrew@0 | 2 * AudioEventMatcher.h |
andrew@0 | 3 * MultipleAudioMathcher |
andrew@0 | 4 * |
andrew@0 | 5 * Created by Andrew on 31/01/2012. |
andrew@0 | 6 * Copyright 2012 QMUL. All rights reserved. |
andrew@0 | 7 * |
andrew@0 | 8 */ |
andrew@0 | 9 |
andrew@0 | 10 |
andrew@0 | 11 |
andrew@0 | 12 #ifndef AUDIO_EVENT_MATCHER_H |
andrew@0 | 13 #define AUDIO_EVENT_MATCHER_H |
andrew@0 | 14 |
andrew@0 | 15 |
andrew@0 | 16 #include "ofMain.h" |
andrew@0 | 17 #include "ChromaOnset.h" |
andrew@0 | 18 #include "LiveAudioInput.h" |
andrew@0 | 19 #include "ofxWindowRegion.h" |
andrew@0 | 20 #include "BayesianArrayStructure.h" |
andrew@0 | 21 |
andrew@0 | 22 class AudioEventMatcher{ |
andrew@0 | 23 |
andrew@0 | 24 public: |
andrew@0 | 25 AudioEventMatcher(); |
andrew@0 | 26 |
andrew@0 | 27 void setArraySizes(); |
andrew@0 | 28 |
andrew@0 | 29 void draw(); |
andrew@0 | 30 |
andrew@0 | 31 BayesianArrayStructure bayesianStruct;//hold the probability distriubtions |
andrew@0 | 32 |
andrew@0 | 33 LiveAudioInput liveInput;//hold the new events that come in |
andrew@0 | 34 |
andrew@0 | 35 ofxWindowRegion bayesTempoWindow; |
andrew@0 | 36 ofxWindowRegion bayesPositionWindow; |
andrew@0 | 37 |
andrew@0 | 38 |
andrew@0 | 39 }; |
andrew@0 | 40 #endif |