+%%%% common Portuguese names for notes
+%%%% This file is part of LilyPond, the GNU music typesetter.
+%%%%
+%%%% Copyright (C) 2004--2010 Pedro Kröger <kroeger@pedrokroeger.net>
+%%%%
+%%%% 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 Portuguese names for notes. "b" means flat (bemol), "s" means
- sharp (sustenido). Adapted from espanol.ly and italian.ly.
+ b = flat (bemol)
+ bb = double-flat
+ bqt = quarter-tone flat
+ btqt = three-quarter-tones flat
- English: a b c d e f g
- Portuguese: la si do re mi fa sol
+ s = sharp (sustenido)
+ ss = double-sharp
+ sqt = quarter-tone sharp
+ stqt = three-quarter-tones sharp
-%}
+ English: c d e f g a b
+ Portuguese: do re mi fa sol la si
-% contributed by Pedro Kröger <<kroeger@pedrokroeger.net>>
+ Adapted from espanol.ly and italiano.ly.
+%}
pitchnamesPortuguese = #`(
(dobb . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
pitchnames = \pitchnamesPortuguese
-\version "2.2.0"
+#(ly:parser-set-note-names parser pitchnames)