Mercurial > hg > multitrack-audio-matcher
comparison src/AudioEventMatcher.h @ 53:5274e3b5479d
Smoothed output, added tempo distribution variation to match the output
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Tue, 14 Aug 2012 21:45:12 +0100 |
parents | e359b9bad811 |
children | 2eca10a31ae2 |
comparison
equal
deleted
inserted
replaced
52:e359b9bad811 | 53:5274e3b5479d |
---|---|
123 AccompanimentSynchroniser synchroniser; | 123 AccompanimentSynchroniser synchroniser; |
124 | 124 |
125 //params | 125 //params |
126 double onsetLikelihoodWidth; | 126 double onsetLikelihoodWidth; |
127 double onsetLikelihoodToNoise; | 127 double onsetLikelihoodToNoise; |
128 double kickLikelihoodToNoise, snareLikelihoodToNoise; | |
128 double pitchLikelihoodToNoise;//more noise | 129 double pitchLikelihoodToNoise;//more noise |
129 double chromaLikelihoodToNoise; | 130 double chromaLikelihoodToNoise; |
130 | 131 |
131 double pitchOfNearestMatch;//for viz purposes | 132 double pitchOfNearestMatch;//for viz purposes |
132 double distanceOfNearestMatch; | 133 double distanceOfNearestMatch; |
158 | 159 |
159 OutputDataWriter testDistributionOutput; | 160 OutputDataWriter testDistributionOutput; |
160 void writeAllDistributions(); | 161 void writeAllDistributions(); |
161 void writeDistribution(DynamicVector& distribution, std::string filename); | 162 void writeDistribution(DynamicVector& distribution, std::string filename); |
162 ofImage img; | 163 ofImage img; |
164 | |
165 void checkTempo(); | |
166 double relativeTempo; | |
163 }; | 167 }; |
164 #endif | 168 #endif |