Revision 8:e9d86e129467 CepstrumPitchTracker.h
| CepstrumPitchTracker.h | ||
|---|---|---|
| 84 | 84 |
}; |
| 85 | 85 |
typedef std::vector<Estimate> Estimates; |
| 86 | 86 |
|
| 87 |
Hypothesis(Estimate s);
|
|
| 87 |
Hypothesis(); |
|
| 88 | 88 |
~Hypothesis(); |
| 89 | 89 |
|
| 90 | 90 |
enum State {
|
| 91 |
New, |
|
| 91 | 92 |
Provisional, |
| 92 | 93 |
Satisfied, |
| 93 | 94 |
Rejected, |
| ... | ... | |
| 95 | 96 |
}; |
| 96 | 97 |
|
| 97 | 98 |
bool test(Estimate); |
| 99 |
|
|
| 100 |
void advanceTime(); |
|
| 101 |
|
|
| 98 | 102 |
State getState(); |
| 99 | 103 |
|
| 100 | 104 |
Estimates getAcceptedEstimates(); |
| ... | ... | |
| 110 | 114 |
|
| 111 | 115 |
typedef std::vector<Hypothesis> Hypotheses; |
| 112 | 116 |
Hypotheses m_possible; |
| 113 |
Hypothesis *m_accepted;
|
|
| 117 |
Hypothesis m_accepted; |
|
| 114 | 118 |
|
| 115 | 119 |
double **m_history; |
| 116 | 120 |
|
Also available in: Unified diff