-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sonntag, 12. April 2009 07:11:26 James E. Bailey wrote: > Wow, I should really not answer questions when I'm not awake. > > Lyrics need to be associated with a voice context. Regardless of > whether or not you name them, lilypond creates its own contexts when > you use the <<{}\\{}>> structure. To solve this, just use << > {\voiceone}\context Voice = "new voice" {\voiceTwo}>>\oneVoice. > Notice the lack of the \\ between the two contexts.
Actually, I couldn't get it to work at all unless I moved the lyrics outside of the \relative... However, since this is for cue notes, I tried to use CueVoice instead of Voice for the cue notes. Apparently, there is a bug: The lyrics start one note later than they do with Voice. This happens also if I derive a custom context directly from Voice, but don't change anything, so it has nothing to do with the settings of CueVoice, but rather breaks for all derived contexts. An example is attached... Cheers, Reinhold - -- - ------------------------------------------------------------------ Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/ * Financial & Actuarial Math., Vienna Univ. of Technology, Austria * http://www.fam.tuwien.ac.at/, DVR: 0005886 * LilyPond, Music typesetting, http://www.lilypond.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQFJ4ax4TqjEwhXvPN0RAgElAJ0Udd41Hmq2iXj+gXSzEuonvcJKuQCfc4Uu subpZjAQol/bBI57dkA2rl4= =cvn0 -----END PGP SIGNATURE-----
a.pdf
Description: Adobe PDF document
\layout { \context{ \Voice \name CVoice \alias Voice } \context { \Staff \accepts CVoice } } #(ly:set-option 'point-and-click #f) % For Voice-derived contexts, lyrics start one note too late! % In particular, if you use CueVoice instead of voice (or our own CVoice % defined above), lyrics will be off by 1 note \score { \new Staff << \new Voice \relative c'' { g2 g2 << { \voiceOne R1 } \new CVoice = "cue" { \voiceTwo g4 g g g } >> g2 g2 << { \voiceOne R1 } \context Voice = "cue1" { \voiceTwo g4 g g g } >> g2 g2 << { \voiceOne R1 } \new CueVoice = "cue2" { \voiceTwo g4 g g g } >> g2 g2 } \context Lyrics \lyricsto "cue" { do re mi fa } \context Lyrics \lyricsto "cue1" { do re mi fa } \context Lyrics \lyricsto "cue2" { do re mi fa } >> }
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user