bug-lilypond
[Top][All Lists]
Advanced

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

Issue 762 in lilypond: Ambitus engraver should be smarter about acciden


From: codesite-noreply
Subject: Issue 762 in lilypond: Ambitus engraver should be smarter about accidentals
Date: Fri, 06 Mar 2009 14:14:10 +0000

Status: Accepted
Owner: v.villenave
Labels: Type-Enhancement Priority-Low

New issue 762 by v.villenave: Ambitus engraver should be smarter about accidentals
http://code.google.com/p/lilypond/issues/detail?id=762

New report from David:

The ambitus engraver will, when determining the ambitus interval, pick
the first enharmonic description of a note, even if a note better
matching its key signature crops up later.

Since the purpose of the ambitus is describing requirements for an
instrument, the accidental composition of a note need not really be
preserved.  Therefore in the following example it would be ok to write
anambitus reaching to c''' rather than bis''.

I would propose that if the key signature of the ambitus engraver can
place a note without accidental with the same absolute pitch as the
engraved note, then it should prefer that over the actually occuring
note.  That should be reasonably simple to do since it does not require
knowledge of the ambitus key signature while tracking the interval, but
merely when the ambitus is actually typeset.

\version "2.12.3"

\new Voice \with {\consists "Ambitus_engraver"}
{
 \clef treble
 \key c \major
 c'1
 \key b \major
 bis''
 \key c \major
 c'''
}


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings




reply via email to

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