Revision 16:d717911aca3c CepstrumPitchTracker.h

View differences:

CepstrumPitchTracker.h
83 83
            double confidence;
84 84
        };
85 85
        typedef std::vector<Estimate> Estimates;
86

  
87
        struct Note {
88
            double freq;
89
            Vamp::RealTime time;
90
            Vamp::RealTime duration;
91
        };
86 92
        
87 93
        Hypothesis();
88 94
        ~Hypothesis();
......
103 109

  
104 110
        int getPendingLength();
105 111
        Estimates getAcceptedEstimates();
112
        Note getAveragedNote();
106 113

  
107
        void addFeatures(FeatureList &fl);
114
        void addFeatures(FeatureSet &fs);
108 115

  
109 116
    private:
110 117
        bool isWithinTolerance(Estimate);

Also available in: Unified diff