]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/creating-a-sequence-of-notes-on-various-pitches.ly
Issue 4422/5: Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / creating-a-sequence-of-notes-on-various-pitches.ly
index 343279e64bc3c5c2213d10950eac33f9ec86723f..9d02ca574437c4467ceaf76cb60729b2c58b163a 100644 (file)
@@ -4,8 +4,8 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.16.0
-\version "2.16.0"
+%% Note: this file works from version 2.19.0
+\version "2.19.22"
 
 \header {
   lsrtags = "pitches, real-music, really-cool, scheme-language"
@@ -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