[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NoteColumn shift in one voice affects dot position in another voice
From: |
David Kastrup |
Subject: |
Re: NoteColumn shift in one voice affects dot position in another voice |
Date: |
Sat, 26 Dec 2009 10:46:13 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) |
Nick Payne <address@hidden> writes:
> See below. When I shift the first note in voiceTwo to avoid a
> collision with the note in voiceFour, the dot on the rest that begins
> voiceOne gets separated from the rest and pretty much disappears under
> the following accidental. It looks to me as though Lilypond is trying
> to keep the dots for the rest in voiceOne and the A in voiceFour
> vertically aligned, regardless of whether the rest and the A are
> vertically aligned. You can see this quite clearly by setting the
> hshift value to something larger such as #2.
I guess that this sort of thing needs some accounting and/or linear
programming in order to arrive at a good solution. You go down the note
column and put all "natural" dot columns in one list. Then you assign
the best columns overall. Opening a new column in the total is
expensive (but less so if the vertical distance to the last column is
large), displacing a dot from its note costs corresponding to the
displacement, least total cost is taken. Something like that.
--
David Kastrup