13
0

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

@ -139,7 +139,7 @@ CueEntry::_size_allocate (ArdourCanvas::Rect const& alloc)
name_button->set_center ( Duple(height/2, height/2) ); name_button->set_center ( Duple(height/2, height/2) );
name_button->set_radius ( (height/2)- 1*scale ); name_button->set_radius ( (height/2)- 1*scale );
/* have to do this in the size-allocate if we want to dynmaically respond to scale-changes */ /* have to do this in the size-allocate if we want to dynamically respond to scale-changes */
jump_text->set_font_description (UIConfiguration::instance().get_NormalFont()); jump_text->set_font_description (UIConfiguration::instance().get_NormalFont());
jump_text->set_alignment (Pango::ALIGN_CENTER); jump_text->set_alignment (Pango::ALIGN_CENTER);

View File

@ -1999,7 +1999,7 @@ private:
Glib::RefPtr<Gtk::RadioAction> draw_velocity_action (int); Glib::RefPtr<Gtk::RadioAction> draw_velocity_action (int);
Glib::RefPtr<Gtk::RadioAction> draw_channel_action (int); Glib::RefPtr<Gtk::RadioAction> draw_channel_action (int);
//zoom focus meu stuff //zoom focus menu stuff
ArdourWidgets::ArdourDropdown zoom_focus_selector; ArdourWidgets::ArdourDropdown zoom_focus_selector;
void zoom_focus_selection_done (Editing::ZoomFocus); void zoom_focus_selection_done (Editing::ZoomFocus);
void build_zoom_focus_menu (); void build_zoom_focus_menu ();

View File

@ -461,7 +461,7 @@ def configure(conf):
if sys.platform == 'darwin': if sys.platform == 'darwin':
if conf.env['build_target'] in ['bigsur', 'monterey']: if conf.env['build_target'] in ['bigsur', 'monterey']:
# we cannot execute test code when x-compiling ARM on Intel, # we cannot execute test code when x-compiling ARM on Intel,
# besides, NSWindowWillStartLiveResizeNotification is definitly available # besides, NSWindowWillStartLiveResizeNotification is definitely available
conf.define('HAVE_COCOA_LIVE_RESIZING', 1) conf.define('HAVE_COCOA_LIVE_RESIZING', 1)
else: else:
conf.check( conf.check(

View File

@ -396,7 +396,7 @@ void gdither_runf(GDither s, uint32_t channel, uint32_t length,
return; 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 */ * the compiler to optimise out the branches in the inner loop */
if (s->bit_depth == 8 && s->dither_depth == 8) { if (s->bit_depth == 8 && s->dither_depth == 8) {
switch (s->type) { switch (s->type) {

View File

@ -103,12 +103,12 @@ XMLTree::read_internal(bool validate)
_doc = xmlCtxtReadFile(ctxt, _filename.c_str(), NULL, XML_PARSE_HUGE); _doc = xmlCtxtReadFile(ctxt, _filename.c_str(), NULL, XML_PARSE_HUGE);
} }
/* check if parsing suceeded */ /* check if parsing succeeded */
if (_doc == NULL) { if (_doc == NULL) {
xmlFreeParserCtxt(ctxt); xmlFreeParserCtxt(ctxt);
return false; return false;
} else { } else {
/* check if validation suceeded */ /* check if validation succeeded */
if (validate && ctxt->valid == 0) { if (validate && ctxt->valid == 0) {
xmlFreeParserCtxt(ctxt); xmlFreeParserCtxt(ctxt);
throw XMLException("Failed to validate document " + _filename); throw XMLException("Failed to validate document " + _filename);

View File

@ -31,7 +31,7 @@ public:
size_t nPPS; // number of pitches per semitone size_t nPPS; // number of pitches per semitone
size_t nS; // number of semitones size_t nS; // number of semitones
size_t nSPP; // number of states per pitch 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 // initial state probabilities
vector<double> initPi; vector<double> initPi;

View File

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