muse-sequencer / muse

MusE is a digital audio workstation with support for both Audio and MIDI
https://muse-sequencer.github.io/
Other
644 stars 69 forks source link

Fixed misc. typos #1231

Closed luzpaz closed 1 year ago

luzpaz commented 1 year ago

Found via codespell -q 3 --skip="./muse3/share/locale,*.xpm,*.patch,*.diff,*.ts,*.pdf" -L attribut,globaly,inports,lod,numer,numers,ons,pevent,seh,shold,sord

luzpaz commented 1 year ago

Found several more typos but wasn't sure to add them to PR. So here they are in a patch:

diff --git a/src/synti/vam/vamgui.cpp b/src/synti/vam/vamgui.cpp
--- src/synti/vam/vamgui.cpp
+++ src/synti/vam/vamgui.cpp
@@ -667,9 +667,9 @@
 //   doSavePresets
 //---------------------------------------------------------
 void VAMGui::doSavePresets(const QString& fn, bool /*_showWarning*/)
 {
-    //_showWarning=_showWarning; // prevent of unsused variable warning
+    //_showWarning=_showWarning; // prevent of unused variable warning
 #if 1
 //     bool popenFlag=false;
   if (fn=="") {
     printf("empty name\n");
diff --git a/src/synti/vam/README b/src/synti/vam/README
--- src/synti/vam/README
+++ src/synti/vam/README
@@ -29,9 +29,9 @@

     To have fun with VAM MusE really should be started with -R.
     Otherwise VAM will produce mostly noise, like clicks.
     If you're familiar with analog or virtual analog synthesizers
-    using VAM souldn't be a problem.
+    using VAM shouldn't be a problem.

     If you add some cool LADSPA plugins like delay or chorus to VAM's
     output, you'll get _much_ better sounds, playing without effects
     is like eating beef without sauce.
diff --git a/src/synti/vam/vam.cpp b/src/synti/vam/vam.cpp
--- src/synti/vam/vam.cpp
+++ src/synti/vam/vam.cpp
@@ -342,9 +342,9 @@
               tmp = i/255.0;
               lin2exp[i] = 1.5 * tmp * tmp * tmp - 0.69 * tmp * tmp + 0.16 * tmp;
               }
           int sr = sampleRate();
-          /* Build up denormalised oscilator wavetables, these are sample_rate
+          /* Build up denormalised oscillator wavetables, these are sample_rate
              long, costs more RAM to create them but makes frequency calcs much
              cheaper, and means that interpolation isn't that necessary, esp if
              you use integer frequencies */

diff --git a/src/doc/documentation.tex b/src/doc/documentation.tex
--- src/doc/documentation.tex
+++ src/doc/documentation.tex
@@ -19,9 +19,9 @@
 %% anything, as this would be hard to find in a diff. and clearly
 %% state in the commit log that you "only" rearranged things.
 %%
 %% please adhere to the "User's manual" / "Internals" / "Design"
-%% partitioning (genereally, don't change the chapters until there
+%% partitioning (generally, don't change the chapters until there
 %% is a really good reason for doing so (adding a chapter like
 %% "feature requests" as flo did in r1497 IS one).
 %% Below that, feel free to change the logical arrangement
 %% (making paragraphs to subsections and similar) if you deem it
@@ -222,9 +222,9 @@
 most convenient way is to install a prepackaged version from your chosen
 distribution. The drawback of this is that it may not be the most recent
 version, though often there is a more recent package from a private packager.
 \subsubsection{Installation from source}
-Building MusE from source is not hard, there are a number of prerequistes
+Building MusE from source is not hard, there are a number of prerequisites
 that must be met but the actual building should be painless (ha, famous
 last words).\\
 Please follow the README in the source package and/or read the instructions
 on the homepage: \url{http://muse-sequencer.org/index.php/Installation}
diff --git a/src/doc/developer_docs.tex b/src/doc/developer_docs.tex
--- src/doc/developer_docs.tex
+++ src/doc/developer_docs.tex
@@ -19,9 +19,9 @@
 %% anything, as this would be hard to find in a diff. and clearly
 %% state in the commit log that you "only" rearranged things.
 %%
 %% please adhere to the "User's manual" / "Internals" / "Design"
-%% partitioning (genereally, don't change the chapters until there
+%% partitioning (generally, don't change the chapters until there
 %% is a really good reason for doing so (adding a chapter like
 %% "feature requests" as flo did in r1497 IS one).
 %% Below that, feel free to change the logical arrangement
 %% (making paragraphs to subsections and similar) if you deem it
terminator356 commented 1 year ago

Hi. Thanks. All those late-night typing sessions. ;-) Someone submitted a similar PR a few years ago but we never got around to merging it.

Go ahead and roll the extra patch into a PR if you like. I will merge it. The .tex file isn't actually used anymore (we have an online wiki now), but that's OK, go ahead.

luzpaz commented 1 year ago

Done! #1232