]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/suomi.ly
Fix 1062.
[lilypond.git] / ly / suomi.ly
index ba828d3bcdf43120d28c703258461ca6343dc2d2..a53b1411e41ea53762778a774263736a8e3f2219 100644 (file)
@@ -1,10 +1,37 @@
-% common finnish names for notes. "es" means flat, "is" means sharp
-%
-% by Heikki Junes <<heikki.junes@hut.fi>>
-% based on svenska.ly by Mats Bengtsson.
+%%%% common Finnish names for notes
+%%%% This file is part of LilyPond, the GNU music typesetter.
+%%%%
+%%%% Copyright (C) 2001--2010 Heikki Junes <heikki.junes@hut.fi>
+%%%%
+%%%% LilyPond is free software: you can redistribute it and/or modify
+%%%% it under the terms of the GNU General Public License as published by
+%%%% the Free Software Foundation, either version 3 of the License, or
+%%%% (at your option) any later version.
+%%%%
+%%%% LilyPond is distributed in the hope that it will be useful,
+%%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
+%%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+%%%% GNU General Public License for more details.
+%%%%
+%%%% You should have received a copy of the GNU General Public License
+%%%% along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 
-% 2001/08/28 Heikki Junes <<heikki.junes@hut.fi>>
-%            added bb and marked heses as `unusual'
+\version "2.12.0"
+
+%{
+
+  es   = flat
+  eses = double-flat
+
+  is   = sharp
+  isis = double-sharp
+
+  English: c  d  e  f  g  a  bf b
+  Finnish: c  d  e  f  g  a  b  h
+
+  Adapted from svenska.ly
+
+%}
 
 pitchnamesSuomi = #`(
        (ceses . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
@@ -38,7 +65,8 @@ pitchnamesSuomi = #`(
        (a . ,(ly:make-pitch -1 5 NATURAL))
        (ais . ,(ly:make-pitch -1 5 SHARP))
        (aisis . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
-       (bb . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+       (bb . ,(ly:make-pitch -1 6 DOUBLE-FLAT)) ;; should be bes. Kept for downwards compatibility
+       (bes . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
        (heses . ,(ly:make-pitch -1 6 DOUBLE-FLAT))  ;;non-standard name for bb
        (b . ,(ly:make-pitch -1 6 FLAT))
        (h . ,(ly:make-pitch -1 6 NATURAL))
@@ -48,4 +76,4 @@ pitchnamesSuomi = #`(
 
 pitchnames = \pitchnamesSuomi
 
-\version "2.2.0"
+#(ly:parser-set-note-names parser pitchnames)