bug-lilypond
[Top][All Lists]
Advanced

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

Re: slurs/accidentals across barlines


From: Erik Sandberg
Subject: Re: slurs/accidentals across barlines
Date: Thu, 9 Jun 2005 23:19:45 +0200
User-agent: KMail/1.8

On Thursday 09 June 2005 20.41, David Bobroff wrote:
> The following code illustrates what I believe is a bug:
>
> \version "2.5.30"
>
> \score {
>   \relative c'' {
>     \key as \major
>     a1-(
>     as-)
>   }
> }
>
>
> The output looks like a pair of tied 'a's but is, in fact a slur from an
> a to an a-flat.  To be sure, LilyPond *does* make a visual difference
> between slurs and ties, but when reading music the output from the above
> will not clearly communicate that the second note is an a-flat.  I think
> LilyPond should recognize such situations and force a courtesy
> accidental.

I think this is one of the rare situations where the user should realise that 
a reminder would be a good idea, & add a ! to the as.

Mostly, automatized decisions such as the accidental handling, are designed to 
follow rules that do what you want in a vast majority of the cases, but that 
still are simple and without too many special cases for uncommon situations. 
If special cases like this would be handled automatically, the code would be 
harder to maintain, and it would also be a lot harder for a human to predict 
whether lilypond will insert an automatic accidental before a given note.

Erik




reply via email to

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