Mercurial > hg > multitrack-audio-matcher
comparison src/LiveAudioInput.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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c4f9e49226eb |
---|---|
1 /* | |
2 * LiveAudioInput.h | |
3 * MultipleAudioMathcher | |
4 * | |
5 * Created by Andrew on 30/01/2012. | |
6 * Copyright 2012 QMUL. All rights reserved. | |
7 * | |
8 */ | |
9 | |
10 #ifndef LIVE_AUDIO_INPUT_H | |
11 #define LIVE_AUDIO_INPUT_H | |
12 | |
13 | |
14 #include "ofMain.h" | |
15 #include "ChromaOnset.h" | |
16 | |
17 | |
18 struct AudioEvent { | |
19 double millisTime; | |
20 double frameTime; | |
21 double pitch; | |
22 int type; | |
23 }; | |
24 | |
25 class LiveAudioInput{ | |
26 | |
27 public: | |
28 | |
29 LiveAudioInput(); | |
30 | |
31 typedef std::vector<AudioEvent> EventVector; | |
32 | |
33 | |
34 | |
35 | |
36 }; | |
37 #endif |