+%%%% common Catalan names for notes
+%%%% This file is part of LilyPond, the GNU music typesetter.
+%%%%
+%%%% Copyright (C) 1998--2010 Jaume Obrador <jobrador@ipc4.uib.es>
+%%%%
+%%%% 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/>.
+
+\version "2.12.0"
+
%{
- 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".
+ b = flat (bemoll)
+ bb = double-flat
- Adapted from italiano.ly.
+ d = sharp (diesi)
+ dd = double-sharp
- English: a b c d e f g
- Catalan: la si do re mi fa sol
+ s = sharp (sostingut)
+ ss = double-sharp
- For spanish naming just use the sharp sign "s" (sostenido) instead of "s"
-(sostenido) .
-%}
+ English: c d e f g a b
+ Catalan: do re mi fa sol la si
-% contributed by Jaume Obrador <<jobrador@ipc4.uib.es>>
+ Adapted from italiano.ly.
+%}
-% For using "sostingut" notation, which is also correct
pitchnamesCatalan = #`(
(dobb . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
(dob . ,(ly:make-pitch -1 0 FLAT))
pitchnames = \pitchnamesCatalan
-\version "2.1.22"
+#(ly:parser-set-note-names parser pitchnames)