Mercurial > hg > multitrack-audio-matcher
comparison src/LiveAudioInput.cpp @ 3:5e188c0035b6
checking the offsets of the arrays
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Wed, 01 Feb 2012 16:05:26 +0000 |
parents | 852173ca8365 |
children | 4be22a1a0e24 |
comparison
equal
deleted
inserted
replaced
2:179c09199b3c | 3:5e188c0035b6 |
---|---|
24 AudioEvent e; | 24 AudioEvent e; |
25 e.millisTime = time; | 25 e.millisTime = time; |
26 e.frameTime = millisToFrames(time); | 26 e.frameTime = millisToFrames(time); |
27 e.pitch = pitch; | 27 e.pitch = pitch; |
28 liveEvents.push_back(e); | 28 liveEvents.push_back(e); |
29 printf("live input pitch %f time %f ms == %f frames\n", pitch, time, e.frameTime); | 29 //printf("live input pitch %f time %f ms == %f frames\n", pitch, time, e.frameTime); |
30 numberOfEvents++; | 30 numberOfEvents++; |
31 | 31 |
32 } | 32 } |
33 | 33 |
34 | 34 |