]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/note-names.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / note-names.ly
index eb0e1ec9eeca3c062521b62e24d810053784114d..dd8b9b02a16b5df1b1de04477a0999b4fcf6d6b6 100644 (file)
@@ -1,28 +1,27 @@
+\version "2.16.0"
 
-\header
-{
+\header {
   texidoc = "Various languages are supported for note names input.
 Selecting another language within a music expression is possible,
 and doesn't break point-and-click abilities.
 "
 }
 
-\version "2.13.37"
 
+%% Old syntax.
 \include "english.ly"
 
 \relative c'' {
-  g bf d c
+  g4 bf d c
 
-  %% nederlands.ly is loaded by default, so the
-  %% dutchPitchnames variable is already defined.
+  %% Manual override of the pitchnames variable
+  %% and the parser note names:
   #(begin
-    (set! pitchnames dutchPitchnames)
-    (ly:parser-set-note-names parser dutchPitchnames))
-  bes a g fis
+    (set! pitchnames (ly:assoc-get 'nederlands language-pitch-names))
+    (ly:parser-set-note-names parser pitchnames))
+  bes4 a g fis
 
-  %% The \language command just retrieves a pitches alist
-  %% from the relevant file, and sets pitchnames accordingly.
+  %% The \language command acts in the same way:
   \language "italiano"
-  sol fa mib re
-}
\ No newline at end of file
+  sol4 fa mib re
+}