lilypond-user
[Top][All Lists]
Advanced

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

Re: Control which voice if shifted left


From: Simon Albrecht
Subject: Re: Control which voice if shifted left
Date: Tue, 16 Jun 2015 14:16:01 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

Am 16.06.2015 um 06:11 schrieb Keith OHara:
Simon Albrecht <simon.albrecht <at> mail.de> writes:
Am 15.06.2015 um 16:50 schrieb Knute Snortum:
I haven't had any replies to this.  How can I ask the question better?
Probably that’s because there is no way to automate this. At least I’d
be very surprised if there were one. It’s so much of a standard to shift
columns in the directions they are actually shifted, and everything more
flexible would require a much more intelligent algorithm, I think.

The code that does the shifting has a comment
  TODO: these numbers are magic; should devise a set of grob
    propertiess to tune this behavior.
where "these numbers" are the amounts to shift chords in the various cases:
   \transpose c c' \new Staff <<
     \new Voice {\voiceOne g4 g g g <g c'> <g b> <g b> g }
     \new Voice {\voiceTwo e  f a8. r16 g4  b b c' c' } >>

It would take some work to define and briefly document properties alongside
merge-differently-dotted to let the shift be changed for each of these
cases, but then we could change the sign of the shift for the case where
the stems currently line up.
Sounds good :-)
~ Simon



reply via email to

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