]> git.donarmstrong.com Git - lilypond.git/blob - ly/catalan.ly
Run grand-replace for 2010.
[lilypond.git] / ly / catalan.ly
1 %%%% common Catalan names for notes
2 %%%% This file is part of LilyPond, the GNU music typesetter.
3 %%%%
4 %%%% Copyright (C) 1998--2010 Jaume Obrador <jobrador@ipc4.uib.es>
5 %%%%
6 %%%% LilyPond is free software: you can redistribute it and/or modify
7 %%%% it under the terms of the GNU General Public License as published by
8 %%%% the Free Software Foundation, either version 3 of the License, or
9 %%%% (at your option) any later version.
10 %%%%
11 %%%% LilyPond is distributed in the hope that it will be useful,
12 %%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
13 %%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 %%%% GNU General Public License for more details.
15 %%%%
16 %%%% You should have received a copy of the GNU General Public License
17 %%%% along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
18
19 \version "2.12.0"
20
21 %{
22
23   b  = flat (bemoll)
24   bb = double-flat
25
26   d  = sharp (diesi)
27   dd = double-sharp
28
29   s  = sharp (sostingut)
30   ss = double-sharp
31
32   English: c   d   e   f   g   a   b
33   Catalan: do  re  mi  fa  sol la  si
34
35   Adapted from italiano.ly.
36
37 %}
38
39 pitchnamesCatalan = #`(
40         (dobb . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
41         (dob . ,(ly:make-pitch -1 0 FLAT))
42         (do . ,(ly:make-pitch -1 0 NATURAL))
43         (dod . ,(ly:make-pitch -1 0 SHARP))
44         (dodd . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
45         (rebb . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
46         (reb . ,(ly:make-pitch -1 1 FLAT))
47         (re . ,(ly:make-pitch -1 1 NATURAL))
48         (red . ,(ly:make-pitch -1 1 SHARP))
49         (redd . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
50         (mibb . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
51         (mib . ,(ly:make-pitch -1 2 FLAT))
52         (mi . ,(ly:make-pitch -1 2 NATURAL))
53         (mid . ,(ly:make-pitch -1 2 SHARP))
54         (midd . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
55         (fabb . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
56         (fab . ,(ly:make-pitch -1 3 FLAT))
57         (fa . ,(ly:make-pitch -1 3 NATURAL))
58         (fad . ,(ly:make-pitch -1 3 SHARP))
59         (fadd . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
60         (solbb . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
61         (solb . ,(ly:make-pitch -1 4 FLAT))
62         (sol . ,(ly:make-pitch -1 4 NATURAL))
63         (sold . ,(ly:make-pitch -1 4 SHARP))
64         (soldd . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
65         (labb . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
66         (lab . ,(ly:make-pitch -1 5 FLAT))
67         (la . ,(ly:make-pitch -1 5 NATURAL))
68         (lad . ,(ly:make-pitch -1 5 SHARP))
69         (ladd . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
70         (sibb . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
71         (sib . ,(ly:make-pitch -1 6 FLAT))
72         (si . ,(ly:make-pitch -1 6 NATURAL))
73         (sid . ,(ly:make-pitch -1 6 SHARP))
74         (sidd . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
75
76         ;; Now that we have espanol.ly, should these be junked? --jcn
77         (dos . ,(ly:make-pitch -1 0 SHARP))
78         (doss . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
79         (res . ,(ly:make-pitch -1 1 SHARP))
80         (ress . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
81         (mis . ,(ly:make-pitch -1 2 SHARP))
82         (miss . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
83         (fas . ,(ly:make-pitch -1 3 SHARP))
84         (fass . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
85         (sols . ,(ly:make-pitch -1 4 SHARP))
86         (solss . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
87         (las . ,(ly:make-pitch -1 5 SHARP))
88         (lass . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
89         (sis . ,(ly:make-pitch -1 6 SHARP))
90         (siss . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
91 )
92
93 pitchnames = \pitchnamesCatalan
94
95 #(ly:parser-set-note-names parser pitchnames)