]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/creating-a-sequence-of-notes-on-various-pitches.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / Documentation / snippets / creating-a-sequence-of-notes-on-various-pitches.ly
index 4ed0476d6a0a135a2f720e9a7d4fd897ce0ee24b..837c03d30d7d9c9b9088ac728701b568e9327ef9 100644 (file)
@@ -4,11 +4,11 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.15.27
-\version "2.15.27"
+%% Note: this file works from version 2.19.22
+\version "2.19.22"
 
 \header {
-  lsrtags = "pitches"
+  lsrtags = "pitches, real-music, really-cool, scheme-language"
 
   texidoc = "
 In music that contains many occurrences of the same sequence of notes
@@ -23,9 +23,9 @@ Planets.
 
 
 rhythm =
-#(define-music-function (parser location p) (ly:pitch?)
+#(define-music-function (p) (ly:pitch?)
    "Make the rhythm in Mars (the Planets) at the given pitch"
-  #{ \times 2/3 { $p 8 $p $p } $p 4 $p $p 8 $p $p 4 #})
+  #{ \tuplet 3/2 { $p 8 8 8 } 4 4 8 8 4 #})
 
 \new Staff {
   \time 5/4