X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Fcreating-a-sequence-of-notes-on-various-pitches.ly;h=9ff6c97bdffa7d127237913a4a42e5e970516088;hb=edf17353d89f4f6bd831466262402bb9151a26ca;hp=b04dd0b99ed447776aefab6f6f1380c3309879e3;hpb=57221c9ee7a758169c9e2fe4805f0ed3598f50d5;p=lilypond.git diff --git a/input/lsr/creating-a-sequence-of-notes-on-various-pitches.ly b/input/lsr/creating-a-sequence-of-notes-on-various-pitches.ly index b04dd0b99e..9ff6c97bdf 100644 --- a/input/lsr/creating-a-sequence-of-notes-on-various-pitches.ly +++ b/input/lsr/creating-a-sequence-of-notes-on-various-pitches.ly @@ -1,17 +1,21 @@ -%% Do not edit this file; it is auto-generated from LSR! -%% Tags: pitches -\version "2.11.35" +%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it +%% This file is in the public domain. +\version "2.11.51" -\header { texidoc = " -In music that contains many occurrences of the same sequence of notes -at different pitches, you can use the following music function. It -takes a note, of which the pitch is used. The supporting Scheme -functions were borrowed from the Tips and Tricks document in the manual. +\header { + lsrtags = "pitches" -This example creates the rhythm used throughout Mars, from The Planets, -by Gustav Holst. -" } + texidoc = " +In music that contains many occurrences of the same sequence of notes +at different pitches, the following music function may prove useful. +It takes a note, of which only the pitch is used. The supporting +Scheme functions were borrowed from the \"Tips and tricks\" document in +the manual for version 2.10. This example creates the rhythm used +throughout Mars, from Gustav Holst's The Planets. +" + doctitle = "Creating a sequence of notes on various pitches" +} % begin verbatim #(define (make-note-req p d) (make-music 'NoteEvent 'duration d @@ -51,12 +55,10 @@ rhythm = #(define-music-function (parser location note) (ly:music?) )))) \score { - \new Staff { - \time 5/4 - - \rhythm c' - \rhythm c'' - \rhythm g - } + \new Staff { + \time 5/4 + \rhythm c' + \rhythm c'' + \rhythm g + } } -