No more doxygen warnings for gtk2_arodur/*
[ardour.git] / libs / vamp-pyin / MonoPitch.h
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*-  vi:set ts=8 sts=4 sw=4: */
2
3 /*
4     pYIN - A fundamental frequency estimator for monophonic audio
5     Centre for Digital Music, Queen Mary, University of London.
6
7     This program is free software; you can redistribute it and/or
8     modify it under the terms of the GNU General Public License as
9     published by the Free Software Foundation; either version 2 of the
10     License, or (at your option) any later version.  See the file
11     COPYING included with this distribution for more information.
12 */
13
14 #ifndef _MONOPITCH_H_
15 #define _MONOPITCH_H_
16
17 #include "MonoPitchHMM.h"
18
19 #include <iostream>
20 #include <vector>
21 #include <exception>
22
23 using std::vector;
24 using std::pair;
25
26 class MonoPitch {
27 public:
28     MonoPitch();
29     virtual ~MonoPitch();
30
31     // pitchProb is a frame-wise vector carrying a vector of pitch-probability pairs
32     const vector<float> process(const vector<vector<pair<double, double> > > pitchProb);
33 private:
34     MonoPitchHMM hmm;
35 };
36
37 #endif