lilypond-devel
[Top][All Lists]
Advanced

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

Patch: tie-ing enharmonic variants


From: Han-Wen Nienhuys
Subject: Patch: tie-ing enharmonic variants
Date: Mon, 31 Jan 2005 17:57:55 +0100

address@hidden writes:
> 
> Greetings,
> 
> a while back I asked lilypond-user how to engrave a tie between
> enharmonic variants, such as g sharp in one bar and a flat in the next
> after a key change. The reponse was that not only does lilypond not do
> this, but you cannot even typeset the tie manually by \overriding
> something. I was also told that there had been a discussion about the
> question previously, but I cannot find it in the archives - therefore
> allow me to make my proposition here.
> 
> I feel that lilypond should not silently refuse to tie enharmonic
> variants if the user explicitly requests it. Choral music is
> frequently notated like this, to help singers through key changes that
> involve shifting from sharp to flat or vice versa. In keyboard music,
> there is no difference between enharmonic variants at all, since there
> is only one key for both. I therefore propose the following patch:
> 
> 
> This changes tie-ing behaviour so that not the exact pitch property
> of two candidate notes is compared, but the normalized chromatic
> pitch.  (The old behaviour can, of course, be produced by not using
> ~ in the first place.)

Does this actually work? IIRC, the Tie code is hard-wired to assume
that ties are always horizontal.

-- 

 Han-Wen Nienhuys   |   address@hidden   |   http://www.xs4all.nl/~hanwen 





reply via email to

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