]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/new/creating-a-sequence-of-notes-on-various-pitches.ly
Imported Upstream version 2.19.45
[lilypond.git] / Documentation / snippets / new / creating-a-sequence-of-notes-on-various-pitches.ly
index 8e9a8c65b4f3a5719a4e33e771264cc524227552..f24f238ecb054eed98cc3ea10bb27ae5f930aefa 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.17.11"
+\version "2.19.22"
 
 \header {
   lsrtags = "pitches, real-music, really-cool, scheme-language"
@@ -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"
-  #{ \tuplet 3/2 { $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