[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tupletSpannerDuration and percent repeat conflict
From: |
Carl Sorensen |
Subject: |
Re: tupletSpannerDuration and percent repeat conflict |
Date: |
Mon, 26 Mar 2012 22:54:26 +0000 |
User-agent: |
Microsoft-MacOutlook/14.14.0.111121 |
On 3/26/12 12:49 PM, "Lenore Horner" <address@hidden> wrote:
>> I'm not top posting.
>
>\version "2.14.2"
>\paper{ ragged-right=##t }
>\relative c'' {
> \set tupletSpannerDuration = #(ly:make-moment 1 4) \times 2/3 {
> \repeat percent 2 {g8 f g f g f g f g f g f }
> } \unset tupletSpannerDuration
>}
>
>Produces correct pdf output but also the following string of error
>messages
>(the full piece of music showed similar inconvenient lack of line numbers
>with the errors).
A simple change prevents the errors:
\version "2.14.2"
\paper{ ragged-right=##t }
\relative c'' {
\set tupletSpannerDuration = #(ly:make-moment 1 4)
% \times 2/3 { % NOTE -- move the \times 2/3 *inside* the
repeat percent
\repeat percent 2 \times 2/3 {g8 f g f g f g f g f g f }
% }
\unset tupletSpannerDuration
}
HTH,
Carl