Skip to content

Commit

Permalink
fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
freddii committed Jan 23, 2021
1 parent aaafb07 commit 446f580
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion music/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Piano Booster Music has now moved to it's own seperate repositry.
Piano Booster Music has now moved to it's own separate repository.

Please see https://github.com/pianobooster/BoosterMusic

2 changes: 1 addition & 1 deletion pkgs/win32/pianobooster.nsi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
;NSIS Modern User Interface
;create the windows install exectuable
;create the windows install executable
;Piano Booster

;--------------------------------
Expand Down
20 changes: 10 additions & 10 deletions src/3rdparty/rtmidi/RtMidi.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ class RTMIDI_DLL_PUBLIC RtMidiError : public std::exception
UNSPECIFIED, /*!< The default, unspecified error type. */
NO_DEVICES_FOUND, /*!< No devices found on system. */
INVALID_DEVICE, /*!< An invalid device ID was specified. */
MEMORY_ERROR, /*!< An error occured during memory allocation. */
MEMORY_ERROR, /*!< An error occurred during memory allocation. */
INVALID_PARAMETER, /*!< An invalid parameter was specified to a function. */
INVALID_USE, /*!< The function was called incorrectly. */
DRIVER_ERROR, /*!< A system driver error occured. */
SYSTEM_ERROR, /*!< A system error occured. */
THREAD_ERROR /*!< A thread error occured. */
DRIVER_ERROR, /*!< A system driver error occurred. */
SYSTEM_ERROR, /*!< A system error occurred. */
THREAD_ERROR /*!< A thread error occurred. */
};

//! The constructor.
Expand Down Expand Up @@ -202,9 +202,9 @@ class RTMIDI_DLL_PUBLIC RtMidi
*/
virtual bool isPortOpen( void ) const = 0;

//! Set an error callback function to be invoked when an error has occured.
//! Set an error callback function to be invoked when an error has occurred.
/*!
The callback function will be called whenever an error has occured. It is best
The callback function will be called whenever an error has occurred. It is best
to set the error callback function before opening a port.
*/
virtual void setErrorCallback( RtMidiErrorCallback errorCallback = NULL, void *userData = 0 ) = 0;
Expand Down Expand Up @@ -364,9 +364,9 @@ class RTMIDI_DLL_PUBLIC RtMidiIn : public RtMidi
*/
double getMessage( std::vector<unsigned char> *message );

//! Set an error callback function to be invoked when an error has occured.
//! Set an error callback function to be invoked when an error has occurred.
/*!
The callback function will be called whenever an error has occured. It is best
The callback function will be called whenever an error has occurred. It is best
to set the error callback function before opening a port.
*/
virtual void setErrorCallback( RtMidiErrorCallback errorCallback = NULL, void *userData = 0 );
Expand Down Expand Up @@ -467,9 +467,9 @@ class RTMIDI_DLL_PUBLIC RtMidiOut : public RtMidi
*/
void sendMessage( const unsigned char *message, size_t size );

//! Set an error callback function to be invoked when an error has occured.
//! Set an error callback function to be invoked when an error has occurred.
/*!
The callback function will be called whenever an error has occured. It is best
The callback function will be called whenever an error has occurred. It is best
to set the error callback function before opening a port.
*/
virtual void setErrorCallback( RtMidiErrorCallback errorCallback = NULL, void *userData = 0 );
Expand Down
2 changes: 1 addition & 1 deletion src/Conductor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ void CConductor::turnOnKeyboardLights(bool on)
if (Cfg::keyboardLightsChan == -1)
return;

// exit if keybaord light are allready on
// exit if keyboard light are already on
if (m_KeyboardLightsOn && on)
return;

Expand Down
2 changes: 1 addition & 1 deletion src/Settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ void CSettings::setupDefaultSoundFont(){
QStringList dirList = directory.entryList(QStringList(),QDir::AllEntries);
foreach(QString filename, dirList)
{
// Find the first sound fount file
// Find the first sound font file
if ( filename.endsWith(".sf2", Qt::CaseInsensitive ) )
{
defaultSoundFont.setFile(directory.path(), filename);
Expand Down
2 changes: 1 addition & 1 deletion src/Settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class CSettings : public QSettings
setValue("FluidSynth/SoundFont", getFluidSoundFontNames());
}

// has a new sound fount been entered that is not the same as the old sound font
// has a new sound font been entered that is not the same as the old sound font
bool isNewSoundFontEntered()
{
if (getFluidSoundFontNames().isEmpty())
Expand Down

0 comments on commit 446f580

Please sign in to comment.