Revision 29:afcd1f4e603c
| CepstrumPitchTracker.cpp | ||
|---|---|---|
| 147 | 147 |
return m_state; |
| 148 | 148 |
} |
| 149 | 149 |
|
| 150 |
int |
|
| 151 |
CepstrumPitchTracker::Hypothesis::getPendingLength() |
|
| 152 |
{
|
|
| 153 |
return m_pending.size(); |
|
| 154 |
} |
|
| 155 |
|
|
| 156 | 150 |
CepstrumPitchTracker::Hypothesis::Estimates |
| 157 | 151 |
CepstrumPitchTracker::Hypothesis::getAcceptedEstimates() |
| 158 | 152 |
{
|
| ... | ... | |
| 634 | 628 |
} |
| 635 | 629 |
} |
| 636 | 630 |
|
| 637 |
std::cerr << "accepted length = " << m_good.getPendingLength() |
|
| 638 |
<< ", state = " << m_good.getState() |
|
| 639 |
<< ", hypothesis count = " << m_possible.size() << std::endl; |
|
| 640 |
|
|
| 641 | 631 |
delete[] data; |
| 642 | 632 |
return fs; |
| 643 | 633 |
} |
| CepstrumPitchTracker.h | ||
|---|---|---|
| 105 | 105 |
|
| 106 | 106 |
State getState(); |
| 107 | 107 |
|
| 108 |
int getPendingLength(); |
|
| 109 | 108 |
Estimates getAcceptedEstimates(); |
| 110 | 109 |
Note getAveragedNote(); |
| 111 | 110 |
|
Also available in: Unified diff