lilypond-user
[Top][All Lists]
Advanced

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

Lyric alignment problem with custom Voice


From: Roman Stawski
Subject: Lyric alignment problem with custom Voice
Date: Thu, 25 Feb 2010 21:04:05 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1

This short polyphony employs
A trivial customised Voice
  but the lyrics ignore
  the first note in the score --
that's not the behaviour of choice.

-----
\version "2.13.11"
\layout { ragged-right = ##t }

\layout {
  \context {
    \Voice
    \name MainVoice
    \alias Voice
  }
  \context {
    \Staff
    \accepts "MainVoice"
  }
}

tx = \lyricmode   { Foo bar }
va = \relative c' { c2  g'2 }
vb = \relative c' { a2  c2  }

<<
  % First note ignored by lyrics :-(
  \new Staff <<
    \new MainVoice = "ta" \va \\
    \vb
  >>
  \new Lyrics { \lyricsto "ta" \tx }

  % Compare with ...
  \new Staff <<
    \new Voice = "tb" \va \\
    \vb
  >>
  \new Lyrics { \lyricsto "tb" \tx }
>>
-----

Roman (with apologies for the doggerel)






reply via email to

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