From 446f5808f91f1e88a506a8cb80ae8e083c52e114 Mon Sep 17 00:00:00 2001 From: freddii Date: Sun, 24 Jan 2021 00:04:39 +0100 Subject: [PATCH] fixed typos --- music/README.md | 2 +- pkgs/win32/pianobooster.nsi | 2 +- src/3rdparty/rtmidi/RtMidi.h | 20 ++++++++++---------- src/Conductor.cpp | 2 +- src/Settings.cpp | 2 +- src/Settings.h | 2 +- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/music/README.md b/music/README.md index e92a464..368e242 100644 --- a/music/README.md +++ b/music/README.md @@ -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 diff --git a/pkgs/win32/pianobooster.nsi b/pkgs/win32/pianobooster.nsi index fa5aaf1..c04ccbe 100644 --- a/pkgs/win32/pianobooster.nsi +++ b/pkgs/win32/pianobooster.nsi @@ -1,5 +1,5 @@ ;NSIS Modern User Interface -;create the windows install exectuable +;create the windows install executable ;Piano Booster ;-------------------------------- diff --git a/src/3rdparty/rtmidi/RtMidi.h b/src/3rdparty/rtmidi/RtMidi.h index 9fc520e..1b0b6b6 100644 --- a/src/3rdparty/rtmidi/RtMidi.h +++ b/src/3rdparty/rtmidi/RtMidi.h @@ -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. @@ -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; @@ -364,9 +364,9 @@ class RTMIDI_DLL_PUBLIC RtMidiIn : public RtMidi */ double getMessage( std::vector *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 ); @@ -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 ); diff --git a/src/Conductor.cpp b/src/Conductor.cpp index 4d7fff8..4690242 100644 --- a/src/Conductor.cpp +++ b/src/Conductor.cpp @@ -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; diff --git a/src/Settings.cpp b/src/Settings.cpp index 3af4c71..0bfc649 100644 --- a/src/Settings.cpp +++ b/src/Settings.cpp @@ -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); diff --git a/src/Settings.h b/src/Settings.h index 851afc5..a94a2b2 100644 --- a/src/Settings.h +++ b/src/Settings.h @@ -130,7 +130,7 @@ public: 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())