bug-lilypond
[Top][All Lists]
Advanced

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

Spacing/collision behaviour of NullVoice


From: Urs Liska
Subject: Spacing/collision behaviour of NullVoice
Date: Tue, 17 Dec 2013 10:01:32 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Having a look at the Changes page referenced by Federico I wanted to experiment with the example for the new NullVoice.

I thought it might be useful to add a different kind of example with a different rhythm for visible notes and lyrics.

However I noticed a behaviour I wouldn't have expected:

Try out the following snippet:

soprano = \relative c' { c e g c }
verse = \lyricmode { This is my song }

\score {
  \new Staff <<
     %\soprano
     { \oneVoice r4. r4 r4. }
    \new NullVoice = "aligner" \soprano
    \new Lyrics \lyricsto "aligner" \verse
  >>
  \layout {}
}

The rests are placed wrongly, obviously avoiding _something_.

If you comment out the NullVoice the rests are placed correctly.
If you uncomment the \soprano they are also placed correctly (but differently).

Is this intended behaviour?

Urs



reply via email to

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