]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/english.ly
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / ly / english.ly
index 0ce982f82689612991fa749d06bc0e6562fb7036..67820fffb5d14103592125d55c1fe8db99d409d2 100644 (file)
@@ -3,79 +3,91 @@
      with s for sharp and f for flat.
 %}
 
-\notenames #`(
-       (cflatflat . ,(make-pitch -1 0 -2 ))
-       (cflat . ,(make-pitch -1 0 -1 ))
-       (c . ,(make-pitch -1 0 0 ))
-       (csharp . ,(make-pitch -1 0 1 ))
-       (csharpsharp . ,(make-pitch -1 0 2 ))
-       (dflatflat . ,(make-pitch -1 1 -2 ))
-       (dflat . ,(make-pitch -1 1 -1 ))
-       (d . ,(make-pitch -1 1 0 ))
-       (dsharp . ,(make-pitch -1 1 1 ))
-       (dsharpsharp . ,(make-pitch -1 1 2 ))
-       (eflatflat . ,(make-pitch -1 2 -2 ))
-       (eflat . ,(make-pitch -1 2 -1 ))
-       (e . ,(make-pitch -1 2 0 ))
-       (esharp . ,(make-pitch -1 2 1 ))
-       (esharpsharp . ,(make-pitch -1 2 2 ))
-       (fflatflat . ,(make-pitch -1 3 -2 ))
-       (fflat . ,(make-pitch -1 3 -1 ))
-       (f . ,(make-pitch -1 3 0 ))
-       (fsharp . ,(make-pitch -1 3 1 ))
-       (fsharpsharp . ,(make-pitch -1 3 2 ))
-       (gflatflat . ,(make-pitch -1 4 -2 ))
-       (gflat . ,(make-pitch -1 4 -1 ))
-       (g . ,(make-pitch -1 4 0 ))
-       (gsharp . ,(make-pitch -1 4 1 ))
-       (gsharpsharp . ,(make-pitch -1 4 2 ))
-       (aflatflat . ,(make-pitch -1 5 -2 ))
-       (aflat . ,(make-pitch -1 5 -1 ))
-       (a . ,(make-pitch -1 5 0 ))
-       (asharp . ,(make-pitch -1 5 1 ))
-       (asharpsharp . ,(make-pitch -1 5 2 ))
-       (bflatflat . ,(make-pitch -1 6 -2 ))
-       (bflat . ,(make-pitch -1 6 -1 ))
-       (b . ,(make-pitch -1 6 0 ))
-       (bsharp . ,(make-pitch -1 6 1 ))
-       (bsharpsharp . ,(make-pitch -1 6 2 ))
+pitchnamesEnglish = #`(
+       (cflatflat . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+       (cflat . ,(ly:make-pitch -1 0 FLAT))
+       (c . ,(ly:make-pitch -1 0 NATURAL))
+       (csharp . ,(ly:make-pitch -1 0 SHARP))
+       (csharpsharp . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+       (dflatflat . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+       (dflat . ,(ly:make-pitch -1 1 FLAT))
+       (d . ,(ly:make-pitch -1 1 NATURAL))
+       (dsharp . ,(ly:make-pitch -1 1 SHARP))
+       (dsharpsharp . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+       (eflatflat . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+       (eflat . ,(ly:make-pitch -1 2 FLAT))
+       (e . ,(ly:make-pitch -1 2 NATURAL))
+       (esharp . ,(ly:make-pitch -1 2 SHARP))
+       (esharpsharp . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+       (fflatflat . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+       (fflat . ,(ly:make-pitch -1 3 FLAT))
+       (f . ,(ly:make-pitch -1 3 NATURAL))
+       (fsharp . ,(ly:make-pitch -1 3 SHARP))
+       (fsharpsharp . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+       (gflatflat . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+       (gflat . ,(ly:make-pitch -1 4 FLAT))
+       (g . ,(ly:make-pitch -1 4 NATURAL))
+       (gsharp . ,(ly:make-pitch -1 4 SHARP))
+       (gsharpsharp . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+       (aflatflat . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+       (aflat . ,(ly:make-pitch -1 5 FLAT))
+       (a . ,(ly:make-pitch -1 5 NATURAL))
+       (asharp . ,(ly:make-pitch -1 5 SHARP))
+       (asharpsharp . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+       (bflatflat . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+       (bflat . ,(ly:make-pitch -1 6 FLAT))
+       (b . ,(ly:make-pitch -1 6 NATURAL))
+       (bsharp . ,(ly:make-pitch -1 6 SHARP))
+       (bsharpsharp . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
 
-       (cff . ,(make-pitch -1 0 -2 ))
-       (cf . ,(make-pitch -1 0 -1 ))
-       (c . ,(make-pitch -1 0 0 ))
-       (cs . ,(make-pitch -1 0 1 ))
-       (css . ,(make-pitch -1 0 2 ))
-       (dff . ,(make-pitch -1 1 -2 ))
-       (df . ,(make-pitch -1 1 -1 ))
-       (d . ,(make-pitch -1 1 0 ))
-       (ds . ,(make-pitch -1 1 1 ))
-       (dss . ,(make-pitch -1 1 2 ))
-       (eff . ,(make-pitch -1 2 -2 ))
-       (ef . ,(make-pitch -1 2 -1 ))
-       (e . ,(make-pitch -1 2 0 ))
-       (es . ,(make-pitch -1 2 1 ))   ; es = E-flat in Dutch
-       (ess . ,(make-pitch -1 2 2 ))
-       (fff . ,(make-pitch -1 3 -2 ))
-       (ff . ,(make-pitch -1 3 -1 ))
-       (f . ,(make-pitch -1 3 0 ))
-       (fs . ,(make-pitch -1 3 1 ))
-       (fss . ,(make-pitch -1 3 2 ))
-       (gff . ,(make-pitch -1 4 -2 ))
-       (gf . ,(make-pitch -1 4 -1 ))
-       (g . ,(make-pitch -1 4 0 ))
-       (gs . ,(make-pitch -1 4 1 ))
-       (gss . ,(make-pitch -1 4 2 ))
-       (aff . ,(make-pitch -1 5 -2 ))
-       (af . ,(make-pitch -1 5 -1 ))
-       (a . ,(make-pitch -1 5 0 ))
-       (as . ,(make-pitch -1 5 1 ))   ; as = A-flat in Dutch
-       (ass . ,(make-pitch -1 5 2 ))
-       (bff . ,(make-pitch -1 6 -2 ))
-       (bf . ,(make-pitch -1 6 -1 ))
-       (b . ,(make-pitch -1 6 0 ))
-       (bs . ,(make-pitch -1 6 1 ))
-       (bss . ,(make-pitch -1 6 2 ))
+       (cff . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+       (cf . ,(ly:make-pitch -1 0 FLAT))
+       (c . ,(ly:make-pitch -1 0 NATURAL))
+       (cs . ,(ly:make-pitch -1 0 SHARP))
+       (css . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+       (cx . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+       (dff . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+       (df . ,(ly:make-pitch -1 1 FLAT))
+       (d . ,(ly:make-pitch -1 1 NATURAL))
+       (ds . ,(ly:make-pitch -1 1 SHARP))
+       (dss . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+       (dx . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+       (eff . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+       (ef . ,(ly:make-pitch -1 2 FLAT))
+       (e . ,(ly:make-pitch -1 2 NATURAL))
+
+       (es . ,(ly:make-pitch -1 2 SHARP))    
+       (ess . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+       (ex . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+       (fff . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+       (ff . ,(ly:make-pitch -1 3 FLAT))
+       (f . ,(ly:make-pitch -1 3 NATURAL))
+       (fs . ,(ly:make-pitch -1 3 SHARP))
+       (fss . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+       (fx . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+       (gff . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+       (gf . ,(ly:make-pitch -1 4 FLAT))
+       (g . ,(ly:make-pitch -1 4 NATURAL))
+       (gs . ,(ly:make-pitch -1 4 SHARP))
+       (gss . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+       (gx . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+       (aff . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+       (af . ,(ly:make-pitch -1 5 FLAT))
+       (a . ,(ly:make-pitch -1 5 NATURAL))
+       (as . ,(ly:make-pitch -1 5 SHARP))
+       (ass . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+       (ax . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+       (bff . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+       (bf . ,(ly:make-pitch -1 6 FLAT))
+       (b . ,(ly:make-pitch -1 6 NATURAL))
+       (bs . ,(ly:make-pitch -1 6 SHARP))
+       (bss . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
+       (bx . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
 )
 
-\version "1.3.96";
+pitchnames = \pitchnamesEnglish
+
+\version "2.7.39"
+
 
+#(ly:parser-set-note-names parser pitchnames)