Fix typos

Found via `codespell -q 3 -S *.po,./.git,./share/patchfiles,./libs,./msvc_extra_headers,./share/web_surfaces,*.patch  -L acount,ba,buss,busses,discreet,doubleclick,hsi,ontop,retrn,ro,scrollin,seh,siz,sord,sur,te,trough,ue`
This commit is contained in:
luz paz 2022-09-21 21:01:23 -04:00 committed by Paul Davis
parent 078544482f
commit 7f06beda50
7 changed files with 8 additions and 8 deletions

View file

@ -31,7 +31,7 @@ public:
size_t nPPS; // number of pitches per semitone
size_t nS; // number of semitones
size_t nSPP; // number of states per pitch
size_t n; // number of states (will be calcualted from other parameters)
size_t n; // number of states (will be calculated from other parameters)
// initial state probabilities
vector<double> initPi;

View file

@ -58,7 +58,7 @@ MonoPitch::process(const vector<vector<pair<double, double> > > pitchProb)
if (hmmFreq > 0)
{
// This was a Yin estimate, so try to get original pitch estimate back
// ... a bit hacky, since we could have direclty saved the frequency
// ... a bit hacky, since we could have directly saved the frequency
// that was assigned to the HMM bin in hmm.calculateObsProb -- but would
// have had to rethink the interface of that method.
for (size_t iPitch = 0; iPitch < pitchProb[iFrame].size(); ++iPitch)