bug-lilypond
[Top][All Lists]
Advanced

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

Clashing noteheads after switching a voice between staffs (v2.4.3)


From: Dunstan . Vavasour
Subject: Clashing noteheads after switching a voice between staffs (v2.4.3)
Date: Tue, 22 Mar 2005 14:03:05 +0000

In four part music, if a voice is crossed between staffs then the 
collision handling for note column and noteheads tends to let go.

The attached example demonstrates what happens in version 2.4.3 (running 
on win32 under cygwin).

It is possible to workaround the problem by putting a skip in the tenor 
voice, and adding the extra notes as a chord in the alto voice, but this 
is undesirable for all sorts of reason: not only is the staff follower 
line lost, the notes are still really in the tenor voice!  But for 
engraving purposes, the desired behaviour for spacing would be such a 
combination with the alto voice.

Any ideas?


Dunstan Vavasour
address@hidden



-------------------
\version "2.4.3"
ToUpper = { \change Staff=upper \stemDown }
ToLower = { \change Staff=lower \stemUp }
global = { \time 3/4 \key g \major }
Soprano = \relative c'{ g'4 fis e | d2 b'4 | a( b) a | g2.}
Alto = \relative c'{ e4 d c | d2 g4 | g2 fis4 | g2.}
Tenor = \relative c'{ g4 g c | b( c) \ToUpper d | e2  \ToLower c4 | b2.}
Bass = \relative c { c4 c e | g2 b,4 | c2 d4 | g2. }

\score {
\context GrandStaff <<
  \set GrandStaff.followVoice=##t
  \context Staff = upper <<
    \set Staff.midiInstrument = "church organ"
    \context Voice = sopranos { \voiceOne << \global \Soprano >> }
    \context Voice = altos { \voiceTwo << \global \Alto >> }
  >>

  \context Staff = lower <<
    \clef bass
    \set Staff.midiInstrument = "church organ"
    \context Voice = tenors { \voiceOne << \global \Tenor >> }
    \context Voice = basses { \voiceTwo << \global \Bass >> }
  >>
>>

\layout {
%%%%raggedright = ##t
%%%%raggedlast=##t
\context { \GrandStaff \accepts "Lyrics"}
}
\midi {
\tempo 4=100
}
}


COMPUTACENTER (UK) LTD

The contents of this e-mail are intended for the named addressee only.
It contains information which may be confidential and which may also be 
privileged. 
Unless you are the named addressee (or authorised to receive for the addressee) 
you may not copy or use it, or disclose it to anyone else. 

If you received it in error please notify us immediately and then destroy it. 

Computacenter information is available from http://www.computacenter.com

This footnote also confirms that this email message has been swept for the 
presence of computer viruses.

 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
* * * * * * * * * * * * *





reply via email to

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