Revision 55:b32290646213 CepstralPitchTracker.h
| CepstralPitchTracker.h | ||
|---|---|---|
| 29 | 29 |
|
| 30 | 30 |
#include "NoteHypothesis.h" |
| 31 | 31 |
|
| 32 |
class AgentFeeder; |
|
| 33 |
|
|
| 32 | 34 |
class CepstralPitchTracker : public Vamp::Plugin |
| 33 | 35 |
{
|
| 34 | 36 |
public: |
| ... | ... | |
| 78 | 80 |
int m_binTo; |
| 79 | 81 |
int m_bins; // count of "interesting" bins, those returned in m_cepOutput |
| 80 | 82 |
|
| 81 |
typedef std::vector<NoteHypothesis> Hypotheses; |
|
| 82 |
Hypotheses m_possible; |
|
| 83 |
NoteHypothesis m_good; |
|
| 84 |
|
|
| 83 |
AgentFeeder *m_feeder; |
|
| 85 | 84 |
void addFeaturesFrom(NoteHypothesis h, FeatureSet &fs); |
| 86 |
|
|
| 87 |
void filter(const double *in, double *out); |
|
| 88 |
double cubicInterpolate(const double[4], double); |
|
| 89 |
double findInterpolatedPeak(const double *in, int maxbin); |
|
| 90 | 85 |
}; |
| 91 | 86 |
|
| 92 | 87 |
#endif |
Also available in: Unified diff