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:
@@ -396,7 +396,7 @@ void gdither_runf(GDither s, uint32_t channel, uint32_t length,
|
||||
return;
|
||||
}
|
||||
|
||||
/* some common case handling code - looks a bit wierd, but it allows
|
||||
/* some common case handling code - looks a bit weird, but it allows
|
||||
* the compiler to optimise out the branches in the inner loop */
|
||||
if (s->bit_depth == 8 && s->dither_depth == 8) {
|
||||
switch (s->type) {
|
||||
|
||||
@@ -103,12 +103,12 @@ XMLTree::read_internal(bool validate)
|
||||
_doc = xmlCtxtReadFile(ctxt, _filename.c_str(), NULL, XML_PARSE_HUGE);
|
||||
}
|
||||
|
||||
/* check if parsing suceeded */
|
||||
/* check if parsing succeeded */
|
||||
if (_doc == NULL) {
|
||||
xmlFreeParserCtxt(ctxt);
|
||||
return false;
|
||||
} else {
|
||||
/* check if validation suceeded */
|
||||
/* check if validation succeeded */
|
||||
if (validate && ctxt->valid == 0) {
|
||||
xmlFreeParserCtxt(ctxt);
|
||||
throw XMLException("Failed to validate document " + _filename);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user