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: Keith OHara
Subject: Re: Control which voice if shifted left
Date: Tue, 16 Jun 2015 04:11:40 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

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.




reply via email to

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