Mercurial > hg > tuning-difference
comparison chroma-compare-plugin/TuningDifference.h @ 19:9c5ec36c223e
Return values through plugin outputs
author | Chris Cannam |
---|---|
date | Thu, 05 Feb 2015 09:43:31 +0000 |
parents | 2c6460fb1fcf |
children |
comparison
equal
deleted
inserted
replaced
18:c40c58215162 | 19:9c5ec36c223e |
---|---|
62 Chromagram::Parameters paramsForTuningFrequency(double hz) const; | 62 Chromagram::Parameters paramsForTuningFrequency(double hz) const; |
63 TFeature computeFeatureFromTotals(const TFeature &totals) const; | 63 TFeature computeFeatureFromTotals(const TFeature &totals) const; |
64 TFeature computeFeatureFromSignal(const Signal &signal, double hz) const; | 64 TFeature computeFeatureFromSignal(const Signal &signal, double hz) const; |
65 double featureDistance(const TFeature &other, int rotation = 0) const; | 65 double featureDistance(const TFeature &other, int rotation = 0) const; |
66 int findBestRotation(const TFeature &other) const; | 66 int findBestRotation(const TFeature &other) const; |
67 double findFineFrequency(int coarseCents, double coarseScore); | 67 std::pair<int, double> findFineFrequency(int coarseCents, double coarseScore); |
68 | 68 |
69 mutable std::map<string, int> m_outputs; | 69 mutable std::map<string, int> m_outputs; |
70 }; | 70 }; |
71 | 71 |
72 | 72 |