Fix some spelling mistakes.

This commit is contained in:
freddii 2021-01-12 09:54:34 +00:00 committed by James Crook
parent c13407d692
commit 2593a84d56
38 changed files with 46 additions and 46 deletions

View File

@ -167,7 +167,7 @@ The current algorithm for determining which image to use is:
This is handled in function \ref ThemeBase::LoadThemeAtStartUp(). Once the
deprecated XPMs have been removed, we wil switch over to using the built
in 'ThemeAsCeeCode.h' defualts where we currently use the XPM defaults.
in 'ThemeAsCeeCode.h' defaults where we currently use the XPM defaults.
@ -202,7 +202,7 @@ the program like so:
This reserves a 64 x 64 pixel bitmap. You can now refer to it from within the
program using bmpSomeNewImage. If you add images on to the end of the list
you will generally have the least problems with compatability of versions.
you will generally have the least problems with compatibility of versions.
If you are adding many images, the most efficient packing of images occurs
when the images are added in tallest-first order since Audacity starts a new
row whenever the height increases.

View File

@ -119,7 +119,7 @@ class ImporterClientInterface
public:
virtual ~ImporterClientInterface() {};
// Provides a pointer to the assocated host for this importer.
// Provides a pointer to the associated host for this importer.
virtual void SetHost(ImporterHostInterface *host) = 0;
// Open the given file, returning true if it is a recognized

View File

@ -158,14 +158,14 @@ other. Alternative to SoundTouch, better on large changes but slower.
Version in Audacity SVN: 2.0.2
Patches:
Misc fixes to configure.in/Makefile.am for autoconf macros and libtool. More
files added to m4/ directory by libtoolizing commited to Audacity SVN.
files added to m4/ directory by libtoolizing committed to Audacity SVN.
AM_MAINTAINER_MODE has been added to configure.ac to disable autotools rebuilds
by default
dont-mangle-cflags.patch patch to stop sed-ing the CXXFLAGS and achieve the
same ends by better means, replacing a hacked version from Gentoo. Patch
linked to from upstream tracker at
https://sourceforge.net/tracker/index.php?func=detail&aid=2561247&group_id=177794&atid=882654
because attachements there don't seem to work.
because attachments there don't seem to work.
autotools.patch: Fix all autotools warnings.
autotools-fix-make-dist.patch: Correct file lists to make dist target work.
sbsms-srcdir.patch: Adds srcdir handling
@ -173,7 +173,7 @@ sbsms-srcdir.patch: Adds srcdir handling
soundtouch
----------
http://www.surina.net/soundtouch/
Independant Pitch and Tempo changing library.
Independent Pitch and Tempo changing library.
Version in Audacity SVN: 1.7.1
Patches: autotools.patch: Fix all autotools warnings.
AM_MAINTAINER_MODE([disable]) has been added to configure.ac to disable autotools rebuilds.
@ -230,7 +230,7 @@ separately in the next argument, with the final one being the path to inside
the directory with the new source in it.
3. Answer the questions as posed by the script (it is interactive). The tag
should be correct as you specfied it in the command. Several temporary SVN
should be correct as you specified it in the command. Several temporary SVN
checkouts will be created (in /tmp) and merges done. Deleted and Added files
will be printed (with a pause after each screen). If some of these should
actually be renames (that is, a delete and an addition go together), then

View File

@ -1426,7 +1426,7 @@ loop
;;
;; Time transformation: the envelope is not warped; the start time and
;; stop times are warped to global time. Then the value of *SUSTAIN* at
;; the begining of the envelope is used to determing absolute duration.
;; the beginning of the envelope is used to determing absolute duration.
;; Since PWL is ultimately called to create the envelope, we must use
;; ABS-ENV to prevent any further transforms inside PWL. We use
;; (AT global-start ...) inside ABS-ENV so that the final result has

View File

@ -71,7 +71,7 @@ $control makeup (_ "Apply Make-up Gain") choice (
(defun get-env (sig step lookahead limit)
(let* ((sig (mult (/ limit) sig))
(pad-time (* 3 lookahead)) ; padding required at start (seconds)
(pad-s (* 3 step)) ; padding smaples
(pad-s (* 3 step)) ; padding samples
(padding (snd-const (peak sig pad-s) 0 *sound-srate* pad-time))
(peak-env (snd-avg sig (* 4 step) step OP-PEAK)))
(extract 0 1

View File

@ -65,7 +65,7 @@ $copyright (_ "Released under terms of the GNU General Public License version 2"
(defmacro validate-low-hz (hz fmin fmax)
;; Discard if out of valid range.
;; Do NOT coerce into range if too high - if multiple tracks with
;; different sample rates, that could cause very unepected results.
;; different sample rates, that could cause very unexpected results.
`(if (or (not ,hz) (< ,hz fmin) (> ,hz fmax))
(setf ,hz nil)))

View File

@ -274,7 +274,7 @@ $control high-transition (_ "High Cut for Vocals (Hz)") real "" 9000 1 24000
*track* ;Return original audio if something goes wrong
;;; we start with some variable assignements
;;; we start with some variable assignments
(setf *sr* *sound-srate*)
;; hard coded STFT parameters

View File

@ -66,7 +66,7 @@ $control radar-f (_ "Frequency of Radar Needles (Hz)") real "" 30 1 100
(setf *radar-table* (list *radar-table* (hz-to-step radar-f) T))
;; increase the volume of the audacity track in the middle of the slider
;; the sqrt trick is something like an artifical db scaling
;; the sqrt trick is something like an artificial db scaling
(setf track-vol (sqrt (/ track-vl 100.0)))
;; decrease the volume of the white noise in the middle of the slider
;; the expt trick is an inverse db scaling

View File

@ -15,7 +15,7 @@ execute_process(
)
if( output )
# message( FATAL_ERROR "You have uncommited changes\n${output}" )
# message( FATAL_ERROR "You have uncommitted changes\n${output}" )
endif()
# Get the list of files in the repo

View File

@ -214,7 +214,7 @@ if [ -f "lib-src/Makefile" ] ; then
reconf=1
fi
else
# if no Makefile, definitly need to configure
# if no Makefile, definitely need to configure
reconf=1
fi

View File

@ -92,7 +92,7 @@ def tagextract(doc):
>>> tagextract('<!DOCTYPE html PUBLIC etc...>')
[('!DOCTYPE html PUBLIC etc...', {})]
Greater-than and less-than characters occuring inside comments or
Greater-than and less-than characters occurring inside comments or
CDATA blocks are correctly kept as part of the block:
>>> tagextract('<!-- <><><><>>..> -->')

View File

@ -1006,7 +1006,7 @@ def run(out=sys.stdout):
complete.add(nurl)
filename = url_to_filename(url)
#this is needed for the first path as it doesn't know if it is a redirect or not in the begining
#this is needed for the first path as it doesn't know if it is a redirect or not in the beginning
#at this point all the content of redir_cache is relative to the start path
if start:
start = False

View File

@ -1231,7 +1231,7 @@ bool AudacityApp::OnInit()
FileNames::SetAudacityPathList( std::move( audacityPathList ) );
// Define languanges for which we have translations, but that are not yet
// Define languages for which we have translations, but that are not yet
// supported by wxWidgets.
//
// TODO: The whole Language initialization really need to be reworked.

View File

@ -103,7 +103,7 @@
// but then the student didn't contribute after that. It needs a bit of work to finish it off.
// As a minimum, if this is turned on for a release,
// it should have an easy mechanism to disable it at run-time, such as a menu item or a pref,
// preferrably disabled until other work is done. Martyn 22/12/2008.
// preferably disabled until other work is done. Martyn 22/12/2008.
//
// JKC Apr 2015, Menu item to manage effects.
@ -226,7 +226,7 @@
// PRL 11 Jul 2017
// Highlight more things in TrackPanel when the mouse moves over them,
// using delibrately ugly pens and brushes until there is better cooperation
// using deliberately ugly pens and brushes until there is better cooperation
// with themes
//#define EXPERIMENTAL_TRACK_PANEL_HIGHLIGHTING

View File

@ -929,7 +929,7 @@ private:
}
};
// utilites for RAII:
// utilities for RAII:
// Deleter adaptor for functions like av_free that take a pointer

View File

@ -214,7 +214,7 @@ std::unique_ptr<wxImage> OverlayImage(teBmps eBack, teBmps eForeground,
memcpy(dst, bg, bgWidth * bgHeight * 3);
// If background image has tranparency, then we want to blend with the
// current backgorund colour.
// current background colour.
if( imgBack.HasAlpha() ){
unsigned char *pAlpha = imgBack.GetAlpha();
wxColour c = theTheme.Colour( clrMedium );

View File

@ -554,7 +554,7 @@ void LyricsPanel::DoPaint(wxDC &dc)
#ifdef __WXMAC__
// Mac OS X automatically double-buffers the screen for you,
// so our bitmap is unneccessary
// so our bitmap is unnecessary
HandlePaint(dc);
#else
wxBitmap bitmap(mWidth, mKaraokeHeight);

View File

@ -13,7 +13,7 @@
#if !(_MSC_VER >= 1800 || __cplusplus >= 201402L)
/* replicate the very useful C++14 make_unique for those build environments
that don't implement it yet.
typical useage:
typical usage:
auto p = std::make_unique<Myclass>(ctorArg1, ctorArg2, ... ctorArgN);
p->DoSomething();
auto q = std::make_unique<Myclass[]>(count);

View File

@ -308,7 +308,7 @@ void ModuleManager::Initialize(CommandHandler &cmdHandler)
XO("Try and load this module?"),
false);
#ifdef EXPERIMENTAL_MODULE_PREFS
// If we're not prompting always, accept the answer permanantly
// If we're not prompting always, accept the answer permanently
if( iModuleStatus == kModuleNew ){
iModuleStatus = (action==1)?kModuleDisabled : kModuleEnabled;
ModulePrefs::SetModuleStatus( files[i], iModuleStatus );

View File

@ -884,7 +884,7 @@ void ProjectAudioManager::OnAudioIOStopRecording()
// Add to history
// We want this to have No-fail-guarantee if we get here from exception
// handling of recording, and that means we rely on the last autosave
// successully committed to the database, not risking a failure
// successfully committed to the database, not risking a failure
history.PushState(XO("Recorded Audio"), XO("Record"),
UndoPush::NOAUTOSAVE);

View File

@ -119,7 +119,7 @@ public:
const TranslatableString &GetLibraryError();
// Provides a means to bypass "DELETE"s at shutdown if the database
// is just going to be deleted anyway. This prevents a noticable
// is just going to be deleted anyway. This prevents a noticeable
// delay caused by SampleBlocks being deleted when the Sequences that
// own them are deleted.
//
@ -184,7 +184,7 @@ public:
// 0 for success or non-zero to stop the query
using ExecCB = std::function<int(int cols, char **vals, char **names)>;
//! Return true if a connetion is now open
//! Return true if a connection is now open
bool HasConnection() const;
//! Return a reference to a connection, creating it as needed on demand; throw on failure

View File

@ -22,7 +22,7 @@
This means that reading in a wav file and writing it out again
('round tripping'), via floats, is lossless; -32768 equates to -1.0f
and 32767 equates to +1.0f - (a little bit).
It also means (unfortunatly) that writing out +1.0f leads to
It also means (unfortunately) that writing out +1.0f leads to
clipping by 1 LSB. This creates some distortion, but I (MJS) have
not been able to measure it, it's so small. Zero is preserved.

View File

@ -85,7 +85,7 @@ own background.
It is used (a) To group together widgets which need to be refreshed
together. A single refresh of the panel causes all the subwindows to
refresh. (b) as a base class for some flicker-free classes for which
the backgorund is never repainted.
the background is never repainted.
JKC: InvisiblePanel will probably be replaced in time by a mechanism
for registering for changes.

View File

@ -395,7 +395,7 @@ private:
virtual Holder Duplicate() const;
// Called when this track is merged to stereo with another, and should
// take on some paramaters of its partner.
// take on some parameters of its partner.
virtual void Merge(const Track &orig);
wxString GetName() const { return mName; }

View File

@ -333,7 +333,7 @@ TrackPanel::~TrackPanel()
void TrackPanel::UpdatePrefs()
{
// All vertical rulers must be recalculated since the minimum and maximum
// frequences may have been changed.
// frequencies may have been changed.
UpdateVRulers();
Refresh();

View File

@ -156,7 +156,7 @@ bool TrackPanelAx::IsFocused( const Track *track )
if( !focusedTrack )
focusedTrack = SetFocus();
// Remap track pointer if there are oustanding pending updates
// Remap track pointer if there are outstanding pending updates
auto origTrack =
GetTracks().FindById( track->GetId() );
if (origTrack)

View File

@ -381,7 +381,7 @@ sampleCount VoiceKey::OnBackward (
}
//Move froward from the start to find an OFF region.
//Move forward from the start to find an OFF region.
sampleCount VoiceKey::OffForward (
const WaveTrack & t, sampleCount start, sampleCount len)
{

View File

@ -292,7 +292,7 @@ public:
void Flush();
/// This name is consistent with WaveTrack::Clear. It performs a "Cut"
/// operation (but without putting the cutted audio to the clipboard)
/// operation (but without putting the cut audio to the clipboard)
void Clear(double t0, double t1);
/// Clear, and add cut line that starts at t0 and contains everything until t1.

View File

@ -1181,7 +1181,7 @@ void WaveTrack::Paste(double t0, const Track *src)
//
// - If multiple clips should be pasted, or a single clip that does not fill
// the duration of the pasted track, these are always pasted as single
// clips, and the current clip is splitted, when necessary. This may seem
// clips, and the current clip is split, when necessary. This may seem
// strange at first, but it probably is better than trying to auto-merge
// anything. The user can still merge the clips by hand (which should be a
// simple command reachable by a hotkey or single mouse click).

View File

@ -309,7 +309,7 @@ public:
std::shared_ptr<CommandMessageTarget> mErrorTarget;
public:
// && is not a reference to a reference, but rather a way to allow reference to a temporary
// that will be gone or transfered after we have taken it. It's a reference to an xvalue,
// that will be gone or transferred after we have taken it. It's a reference to an xvalue,
// or 'expiring value'.
CommandOutputTargets(std::unique_ptr<CommandProgressTarget> &&pt = TargetFactory::ProgressDefault(),
std::shared_ptr<CommandMessageTarget> &&st = TargetFactory::MessageDefault(),

View File

@ -17,7 +17,7 @@
\brief Command for saving an Audacity project
\class SaveCopyCommand
\brief Command for saving a copy of currenty project
\brief Command for saving a copy of currently project
\class SaveLogCommand
\brief Command for saving the log contents

View File

@ -311,7 +311,7 @@ EffectEqualization::EffectEqualization(int Options)
mBench=false;
#endif
// We expect these Hi and Lo frequences to be overridden by Init().
// We expect these Hi and Lo frequencies to be overridden by Init().
// Don't use inputTracks(). See bug 2321.
#if 0
auto trackList = inputTracks();

View File

@ -533,7 +533,7 @@ size_t RealtimeEffectState::RealtimeProcess(int group,
// Call the client until we run out of input or output channels
while (ichans > 0 && ochans > 0)
{
// If we don't have enough input channels to accomodate the client's
// If we don't have enough input channels to accommodate the client's
// requirements, then we replicate the input channels until the
// client's needs are met.
if (ichans < numAudioIn)
@ -562,7 +562,7 @@ size_t RealtimeEffectState::RealtimeProcess(int group,
}
}
// If we don't have enough output channels to accomodate the client's
// If we don't have enough output channels to accommodate the client's
// requirements, then we provide all of the output channels and fulfill
// the client's needs with dummy buffers. These will just get tossed.
if (ochans < numAudioOut)

View File

@ -761,7 +761,7 @@ bool AUPImportFileHandle::HandleProject(XMLTagHandler *&handler)
}
// If that fails then try to use the filename of the .aup as the base directory
// This is because unzipped projects e.g. those that get transfered between mac-pc
// This is because unzipped projects e.g. those that get transferred between mac-pc
// may have encoding issues and end up expanding the wrong filenames for certain
// international characters (such as capital 'A' with an umlaut.)
if (projName.empty())

View File

@ -962,7 +962,7 @@ void OnScoreAlign(const CommandContext &context)
}
// Creating the dialog also stores dialog into gScoreAlignDialog so
// that it can be delted by CloseScoreAlignDialog() either here or
// that it can be deleted by CloseScoreAlignDialog() either here or
// if the program is quit by the user while the dialog is up.
ScoreAlignParams params;

View File

@ -389,7 +389,7 @@ void OnTimerRecord(const CommandContext &context)
return;
}
// We check the selected tracks to see if there is enough of them to accomodate
// We check the selected tracks to see if there is enough of them to accommodate
// all input channels and all of them have the same sampling rate.
// Those checks will be later performed by recording function anyway,
// but we want to warn the user about potential problems from the very start.
@ -572,7 +572,7 @@ void OnPunchAndRoll(const CommandContext &context)
error = true;
else {
// May adjust t1 left
// Let's ignore the possibilty of a clip even shorter than the
// Let's ignore the possibility of a clip even shorter than the
// crossfade duration!
newt1 = std::min(newt1, clip->GetEndTime() - crossFadeDuration);
}

View File

@ -11,7 +11,7 @@
******************************************************************//**
\class ODTaskThread
\brief A thread that executes a part of the task specfied by an ODTask.
\brief A thread that executes a part of the task specified by an ODTask.
*//*******************************************************************/

View File

@ -11,7 +11,7 @@
******************************************************************//**
\class ODTaskThread
\brief A thread that executes a part of the task specfied by an ODTask.
\brief A thread that executes a part of the task specified by an ODTask.
*//*******************************************************************/