Mercurial > hg > multitrack-audio-matcher
comparison src/AccompanimentSynchroniser.cpp @ 45:d23685b9e766
Fixed the alignment error caluculations and added histogram plotting
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Tue, 08 May 2012 21:53:11 +0100 |
parents | c96b18dd0f48 |
children | 5274e3b5479d |
comparison
equal
deleted
inserted
replaced
44:73fbbc92fdfb | 45:d23685b9e766 |
---|---|
6 * Copyright 2012 QMUL. All rights reserved. | 6 * Copyright 2012 QMUL. All rights reserved. |
7 * | 7 * |
8 */ | 8 */ |
9 | 9 |
10 #include "AccompanimentSynchroniser.h" | 10 #include "AccompanimentSynchroniser.h" |
11 | |
12 //recorded position millis is the current alignment position, sent from updateAlignment in event matcher | |
13 //time sent is the live time since start of play | |
11 | 14 |
12 AccompanimentSynchroniser::AccompanimentSynchroniser(){ | 15 AccompanimentSynchroniser::AccompanimentSynchroniser(){ |
13 sender.setup(HOST, SENDER_PORT); | 16 sender.setup(HOST, SENDER_PORT); |
14 counter = 0; | 17 counter = 0; |
15 reset(); | 18 reset(); |