bug-lilypond
[Top][All Lists]
Advanced

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

Strange behaviour with transposing clefs


From: Phil Holmes
Subject: Strange behaviour with transposing clefs
Date: Mon, 5 Jul 2010 16:19:40 +0100

I've been experimenting with transposing clefs to write a snippet, and found that if you try to transpose a clef with a zero transposition, you actually get 2. Trying 2 gives no clef at all. Trying 1 (for what it's worth) gives a clef but no transposition.

I think the behaviour with 1 is correct, since a transposition of 8 actually moves 7 notes, but I think the 2 and 0 are the result of just adding a fiddle factor without checking the result. Not convinced anyone will use these odd numbers, but still think it's a bug?

\relative c' {
 \clef treble
 c c c c
 \clef "treble^0"
 c c c c
 \clef "treble_2"
 c c c c
 \clef "treble_0"
 c c c c
 \clef "treble^2"
 c c c c
}

--
Phil Holmes
Bug Squad

Attachment: clefsbug.png
Description: PNG image


reply via email to

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