paul bedaride <paul.bedar...@gmail.com> writes: > I would be something like this (but this doesn't work) > > \version "2.16.2" > \include "predefined-ukulele-fretboards.ly" > > theChords = \chordmode { > g g g g g > } > > verseI = \lyricmode { > \set stanza = #"1." > This is the first verse > } > > \score { > << > \context ChordNames { \theChords } > \context FretBoards = "testVoice" { > \set Staff. stringTunings = #ukulele-tuning > \theChords > } > \new Lyrics = "lyricsI" { > \lyricsto "testVoice" \verseI > } >>> > \layout { } > }
Well, try the following instead:
\version "2.16.2" \include "predefined-ukulele-fretboards.ly" theChords = \chordmode { g g g g g } verseI = \lyricmode { \set stanza = #"1." This is the first verse } \score { << \context ChordNames { \theChords } \context FretBoards = "testVoice" { \set Staff.stringTunings = #ukulele-tuning \theChords } \new Lyrics = "lyricsI" \with { associatedVoice = "testVoice" } \verseI >> \layout { } }
Now it is a valid question why \lyricsto ... _requires_ an actual Voice context to work with while associatedVoice (which even has Voice rather than Context in its name) doesn't. Yes, this makes precious little sense. But it does work. I think it might be worth making \lyricsto work equally well (I don't see the reason to specifically look for a "Voice" context when the context is explicitly named anyway). But in the meantime, go for it. -- David Kastrup
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user