]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/new/creating-a-sequence-of-notes-on-various-pitches.ly
Merge branch 'issue4914'
[lilypond.git] / Documentation / snippets / new / creating-a-sequence-of-notes-on-various-pitches.ly
index 1a50195194d7cfa9e48498d06131df628bf853f6..f24f238ecb054eed98cc3ea10bb27ae5f930aefa 100644 (file)
@@ -1,7 +1,7 @@
-\version "2.15.27"
+\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
@@ -15,9 +15,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