Mercurial > hg > cepstral-pitchtracker
changeset 55:b32290646213
Beginnings of switch to feeder
author | Chris Cannam |
---|---|
date | Thu, 27 Sep 2012 15:52:17 +0100 |
parents | 751b43d119cf |
children | d8eeba570d70 |
files | CepstralPitchTracker.h |
diffstat | 1 files changed, 3 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/CepstralPitchTracker.h Thu Sep 27 15:20:47 2012 +0100 +++ b/CepstralPitchTracker.h Thu Sep 27 15:52:17 2012 +0100 @@ -29,6 +29,8 @@ #include "NoteHypothesis.h" +class AgentFeeder; + class CepstralPitchTracker : public Vamp::Plugin { public: @@ -78,15 +80,8 @@ int m_binTo; int m_bins; // count of "interesting" bins, those returned in m_cepOutput - typedef std::vector<NoteHypothesis> Hypotheses; - Hypotheses m_possible; - NoteHypothesis m_good; - + AgentFeeder *m_feeder; void addFeaturesFrom(NoteHypothesis h, FeatureSet &fs); - - void filter(const double *in, double *out); - double cubicInterpolate(const double[4], double); - double findInterpolatedPeak(const double *in, int maxbin); }; #endif