lilypond-devel
[Top][All Lists]
Advanced

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

Shouldn't the ambitus engraver prefer his key signature?


From: David Kastrup
Subject: Shouldn't the ambitus engraver prefer his key signature?
Date: Fri, 13 Feb 2009 16:08:15 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Hi,

the ambitus engraver seemingly picks the first maximum/minimum in the
note sequence and stays with it even when the same absolute pitch comes
up later with a better match to the ambitus engraver's key signature.

Here is a real world example where the ambitus engraver (which is
working in C major) picks c flat rather than b as its lowest span.
Ugly.

\include "deutsch.ly"
\new Voice \with {\consists "Ambitus_engraver"}
{
\clef bass
\key c \major
#(set-accidental-style (quote forget))
\set Staff.printKeyCancellation = ##f
\override Staff.TimeSignature #(quote stencil) = ##f
\partial 64
\skip64
\bar ""
\key des \major
<<des, f, as,^\markup{\concat{d\super\flat }}>>
<<des, fes, as,^\markup{\concat{d\super\flat m}}>>
<<des, f, ces,^\markup{\concat{d\super\flat 7}}>>
<<des, fes, b,^\markup{\concat{d\super\flat 0}}>>
\key as \major
<<as, c, es,^\markup{\concat{a\super\flat }}>>
<<as, ces, es,^\markup{\concat{a\super\flat m}}>>
<<as, c, ges,^\markup{\concat{a\super\flat 7}}>>
<<as, ces, f,^\markup{\concat{a\super\flat 0}}>>
\key es \major
<<es, g, b,^\markup{\concat{e\super\flat }}>>
<<es, ges, b,^\markup{\concat{e\super\flat m}}>>
<<es, g, des,^\markup{\concat{e\super\flat 7}}>>
<<es, ges, c,^\markup{\concat{e\super\flat 0}}>>
\key b \major
<<b, d, f,^\markup{\concat{b}}>>
<<b, des, f,^\markup{\concat{bm}}>>
<<b, d, as,^\markup{\concat{b7}}>>
<<b, des, g,^\markup{\concat{b0}}>>
\key f \major
<<f, a, c,^\markup{\concat{f}}>>
<<f, as, c,^\markup{\concat{fm}}>>
<<f, a, es,^\markup{\concat{f7}}>>
<<f, as, d,^\markup{\concat{f0}}>>
\key c \major
<<c, e, g,^\markup{\concat{c}}>>
<<c, es, g,^\markup{\concat{cm}}>>
<<c, e, b,^\markup{\concat{c7}}>>
<<c, es, a,^\markup{\concat{c0}}>>
\key g \major
<<g, h,, d,^\markup{\concat{g}}>>
<<g, b, d,^\markup{\concat{gm}}>>
<<g, h,, f,^\markup{\concat{g7}}>>
<<g, b, e,^\markup{\concat{g0}}>>
\key d \major
<<d, fis, a,^\markup{\concat{d}}>>
<<d, f, a,^\markup{\concat{dm}}>>
<<d, fis, c,^\markup{\concat{d7}}>>
<<d, f, h,,^\markup{\concat{d0}}>>
\key a \major
<<a, cis, e,^\markup{\concat{a}}>>
<<a, c, e,^\markup{\concat{am}}>>
<<a, cis, g,^\markup{\concat{a7}}>>
<<a, c, fis,^\markup{\concat{a0}}>>
\key e \major
<<e, gis, h,,^\markup{\concat{e}}>>
<<e, g, h,,^\markup{\concat{em}}>>
<<e, gis, d,^\markup{\concat{e7}}>>
<<e, g, cis,^\markup{\concat{e0}}>>
\key h \major
<<h,, dis, fis,^\markup{\concat{h}}>>
<<h,, d, fis,^\markup{\concat{hm}}>>
<<h,, dis, a,^\markup{\concat{h7}}>>
<<h,, d, gis,^\markup{\concat{h0}}>>
\key fis \major
<<fis, ais, cis,^\markup{\concat{f\super\sharp }}>>
<<fis, a, cis,^\markup{\concat{f\super\sharp m}}>>
<<fis, ais, e,^\markup{\concat{f\super\sharp 7}}>>
<<fis, a, dis,^\markup{\concat{f\super\sharp 0}}>>
}
The output looks as follows:

PNG image


-- 
David Kastrup

reply via email to

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