]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/catalan.ly
Merge branch 'master' of ssh+git://hanwen@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / ly / catalan.ly
index dcb1ba84cfcd5656f9c745db40ee2b7a33220ef3..7d5ae8164a8317048925d440c4402e310dc318ee 100644 (file)
@@ -1,8 +1,9 @@
 %{
 
- Common catalan names for notes. "b" means flat (bemoll), "d" means sharp (diesi).
- Also "s" is included for sharp (sostingut).  Both "diesi" and "sostingut" are approved
- by "Diccionari de la Llengua Catalana" from "Institut d'Estudis Catalans".
+ Common catalan names for notes. "b" means flat (bemoll), "d" means sharp
+ (diesi).  Also "s" is included for sharp (sostingut).  Both "diesi" and
+ "sostingut" are approved by "Diccionari de la Llengua Catalana" from
+ "Institut d'Estudis Catalans".
 
  Adapted from italiano.ly.
 
 (sostenido) .
 %}
 
-% contributed by Jaume Obrador <jobrador@ipc4.uib.es>
+% contributed by Jaume Obrador <<jobrador@ipc4.uib.es>>
 
 
 % For using "sostingut" notation, which is also correct
-\pitchnames #`(
-       (dobb . ,(ly:make-pitch -1 0 -2 ))
-       (dob . ,(ly:make-pitch -1 0 -1 ))
-       (do . ,(ly:make-pitch -1 0 ))
-       (dod . ,(ly:make-pitch -1 0 ))
-       (dodd . ,(ly:make-pitch -1 0 ))
-       (rebb . ,(ly:make-pitch -1 1 -2 ))
-       (reb . ,(ly:make-pitch -1 1 -1 ))
-       (re . ,(ly:make-pitch -1 1 ))
-       (red . ,(ly:make-pitch -1 1 ))
-       (redd . ,(ly:make-pitch -1 1 ))
-       (mibb . ,(ly:make-pitch -1 2 -2 ))
-       (mib . ,(ly:make-pitch -1 2 -1 ))
-       (mi . ,(ly:make-pitch -1 2 ))
-       (mid . ,(ly:make-pitch -1 2 ))
-       (midd . ,(ly:make-pitch -1 2 ))
-       (fabb . ,(ly:make-pitch -1 3 -2 ))
-       (fab . ,(ly:make-pitch -1 3 -1 ))
-       (fa . ,(ly:make-pitch -1 3 ))
-       (fad . ,(ly:make-pitch -1 3 ))
-       (fadd . ,(ly:make-pitch -1 3 ))
-       (solbb . ,(ly:make-pitch -1 4 -2 ))
-       (solb . ,(ly:make-pitch -1 4 -1 ))
-       (sol . ,(ly:make-pitch -1 4 ))
-       (sold . ,(ly:make-pitch -1 4 ))
-       (soldd . ,(ly:make-pitch -1 4 ))
-       (labb . ,(ly:make-pitch -1 5 -2 ))
-       (lab . ,(ly:make-pitch -1 5 -1 ))
-       (la . ,(ly:make-pitch -1 5 ))
-       (lad . ,(ly:make-pitch -1 5 ))
-       (ladd . ,(ly:make-pitch -1 5 ))
-       (sibb . ,(ly:make-pitch -1 6 -2 ))
-       (sib . ,(ly:make-pitch -1 6 -1 ))
-       (si . ,(ly:make-pitch -1 6 ))
-       (sid . ,(ly:make-pitch -1 6 ))
-       (sidd . ,(ly:make-pitch -1 6 ))
+pitchnamesCatalan = #`(
+       (dobb . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+       (dob . ,(ly:make-pitch -1 0 FLAT))
+       (do . ,(ly:make-pitch -1 0 NATURAL))
+       (dod . ,(ly:make-pitch -1 0 SHARP))
+       (dodd . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+       (rebb . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+       (reb . ,(ly:make-pitch -1 1 FLAT))
+       (re . ,(ly:make-pitch -1 1 NATURAL))
+       (red . ,(ly:make-pitch -1 1 SHARP))
+       (redd . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+       (mibb . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+       (mib . ,(ly:make-pitch -1 2 FLAT))
+       (mi . ,(ly:make-pitch -1 2 NATURAL))
+       (mid . ,(ly:make-pitch -1 2 SHARP))
+       (midd . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+       (fabb . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+       (fab . ,(ly:make-pitch -1 3 FLAT))
+       (fa . ,(ly:make-pitch -1 3 NATURAL))
+       (fad . ,(ly:make-pitch -1 3 SHARP))
+       (fadd . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+       (solbb . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+       (solb . ,(ly:make-pitch -1 4 FLAT))
+       (sol . ,(ly:make-pitch -1 4 NATURAL))
+       (sold . ,(ly:make-pitch -1 4 SHARP))
+       (soldd . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+       (labb . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+       (lab . ,(ly:make-pitch -1 5 FLAT))
+       (la . ,(ly:make-pitch -1 5 NATURAL))
+       (lad . ,(ly:make-pitch -1 5 SHARP))
+       (ladd . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+       (sibb . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+       (sib . ,(ly:make-pitch -1 6 FLAT))
+       (si . ,(ly:make-pitch -1 6 NATURAL))
+       (sid . ,(ly:make-pitch -1 6 SHARP))
+       (sidd . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
 
        ;; Now that we have espanol.ly, should these be junked? --jcn
-       (dos . ,(ly:make-pitch -1 0 ))
-       (doss . ,(ly:make-pitch -1 0 ))
-       (res . ,(ly:make-pitch -1 1 ))
-       (ress . ,(ly:make-pitch -1 1 ))
-       (mis . ,(ly:make-pitch -1 2 ))
-       (miss . ,(ly:make-pitch -1 2 ))
-       (fas . ,(ly:make-pitch -1 3 ))
-       (fass . ,(ly:make-pitch -1 3 ))
-       (sols . ,(ly:make-pitch -1 4 ))
-       (solss . ,(ly:make-pitch -1 4 ))
-       (las . ,(ly:make-pitch -1 5 ))
-       (lass . ,(ly:make-pitch -1 5 ))
-       (sis . ,(ly:make-pitch -1 6 ))
-       (siss . ,(ly:make-pitch -1 6 ))
+       (dos . ,(ly:make-pitch -1 0 SHARP))
+       (doss . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+       (res . ,(ly:make-pitch -1 1 SHARP))
+       (ress . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+       (mis . ,(ly:make-pitch -1 2 SHARP))
+       (miss . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+       (fas . ,(ly:make-pitch -1 3 SHARP))
+       (fass . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+       (sols . ,(ly:make-pitch -1 4 SHARP))
+       (solss . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+       (las . ,(ly:make-pitch -1 5 SHARP))
+       (lass . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+       (sis . ,(ly:make-pitch -1 6 SHARP))
+       (siss . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
 )
 
+pitchnames = \pitchnamesCatalan
 
+\version "2.10.0"
 
-\version "1.9.1"
+#(ly:parser-set-note-names parser pitchnames)