Issue 3998: Let "Mars" example in pitch snippets use isolated durations
authorDavid Kastrup <dak@gnu.org>
Tue, 8 Jul 2014 09:04:19 +0000 (11:04 +0200)
committerDavid Kastrup <dak@gnu.org>
Fri, 18 Jul 2014 13:43:17 +0000 (15:43 +0200)
This is one example quite benefitting from issue 3648.  One somewhat
incidental boon is that it would now work in relative mode without
requiring the make-relative macro.

Documentation/snippets/new/creating-a-sequence-of-notes-on-various-pitches.ly

index 8e9a8c65b4f3a5719a4e33e771264cc524227552..40c2af9b289c60a5d9d20ef4ad62c66a77fd9bb5 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.17.11"
+\version "2.19.0"
 
 \header {
   lsrtags = "pitches, real-music, really-cool, scheme-language"
@@ -17,7 +17,7 @@ Planets.
 rhythm =
 #(define-music-function (parser location 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