X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fcreating-a-sequence-of-notes-on-various-pitches.ly;h=837c03d30d7d9c9b9088ac728701b568e9327ef9;hb=1b29d0ce3e3143bdc26504917578dc3f8b07e861;hp=e3e05978bb622fd8d9ab6812d417f062cccd00d0;hpb=e7ec3a69c9a4d25889d92539140ed0b2bbe8f700;p=lilypond.git diff --git a/Documentation/snippets/creating-a-sequence-of-notes-on-various-pitches.ly b/Documentation/snippets/creating-a-sequence-of-notes-on-various-pitches.ly index e3e05978bb..837c03d30d 100644 --- a/Documentation/snippets/creating-a-sequence-of-notes-on-various-pitches.ly +++ b/Documentation/snippets/creating-a-sequence-of-notes-on-various-pitches.ly @@ -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.15.27 -\version "2.15.27" +%% Note: this file works from version 2.19.22 +\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