lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: modern accidentals rule (was: Re: Bad spacing (gap) when large inter


From: Carl Sorensen
Subject: Re: modern accidentals rule (was: Re: Bad spacing (gap) when large interval and accidental)
Date: Tue, 10 Nov 2009 12:11:00 -0700

Frederic,

Thanks for the info.


On 11/10/09 11:55 AM, "Frédéric Bron" <address@hidden> wrote:

>>> BTW, I have found a strange behaviour of "modern" accidentals rule:
>>> LilyPond considers volta alternatives as "previous" measure. Is this
>>> correct? (Note the natural sign at the 2nd and 3rd alternatives, not
>>> related to the previous _played_ measure.)
> 
> Yes, this is known behaviour. Here is the workaround I use:
> 
> First you define the follwing function:
> 
> forget = #(define-music-function (parser location music) (ly:music?) #{
>         #(set-accidental-style 'forget)
>         $music
>         #(set-accidental-style 'modern)
> #})
> 
> 
> And then, you use it in front of the note which you do not want the
> sharp of flat in front of:
> 
> \repeat { c } \alternative { { cis } { \forget c } }
> 

Could you prepare a patch adding the known behavior and this workaround to
the Known Issues in Displaying pitches in pitches.itely?

Thanks,

Carl





reply via email to

[Prev in Thread] Current Thread [Next in Thread]