]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/svenska.ly
Metronome-mark: align on key-signature too.
[lilypond.git] / ly / svenska.ly
index c2f7270e36deaf218f79f9ef00053b73a0f19131..85ca0f8919351e13c3689807558de774ddbb1ff4 100644 (file)
@@ -1,9 +1,37 @@
-%
-% common Swedish names for notes. "ess" means flat, "iss" means sharp
-%
-% by Mats Bengtsson.
+%%%% common Swedish names for notes
+%%%% This file is part of LilyPond, the GNU music typesetter.
+%%%%
+%%%% Copyright (C) 1997--2010 Mats Bengtsson <mabe@violin.s3.kth.se>
+%%%%
+%%%% 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/>.
 
-\pitchnames #`(
+\version "2.12.0"
+
+%{
+
+  ess    = flat
+  essess = double-flat
+
+  iss    = sharp
+  ississ = double-sharp
+
+  English: c  d  e  f  g  a  bf b
+  Swedish: c  d  e  f  g  a  b  h
+
+%}
+
+pitchnamesSvenska = #`(
        (cessess . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
        (cess . ,(ly:make-pitch -1 0 FLAT))
        (c . ,(ly:make-pitch -1 0 NATURAL))
@@ -40,4 +68,7 @@
        (hiss . ,(ly:make-pitch -1 6 SHARP))
        (hississ . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
 )
-\version "1.9.7"
+
+pitchnames = \pitchnamesSvenska
+
+#(ly:parser-set-note-names parser pitchnames)