[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A Voice with Lyrics interspersed with non-lyric melody
From: |
Simon Albrecht |
Subject: |
Re: A Voice with Lyrics interspersed with non-lyric melody |
Date: |
Sat, 5 Oct 2019 11:04:23 +0200 |
Hi Mike,
I’d recommend using one Voice with all the notes that have lyrics, and
one Voice with all those that don’t. Here’s a more minimal (and sillier)
mockup:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
withLyrics = \relative c'' {
\time 3/4
\markLengthOn
\mark "Chorus"
c2.
\mark "Interlude"
s
\mark "Verse I"
c
\mark "Interlude"
s
\mark "Verse II"
c
}
withoutLyrics = \relative {
s2.
e''
s
e
}
lyr = \lyricmode {
chorus
one
two
}
\score {
<<
\new Staff <<
\new Voice = "withLyrics" \withLyrics
\new Voice \withoutLyrics
>>
\new Lyrics \lyricsto "withLyrics" \lyr
>>
}
%%%%%%%%%%%%%%%%%
Note that both Voices have implied \oneVoice throughout, which is what
we want, since there’s no polyphony happening.
Please ask back if you need any explanation, or just search the commands
and keywords in the manuals.
Best,
Simon
On 04.10.19 16:32, Mike iLL Kilmer wrote:
I thought I had worked this out at one point.
I want to be able to have
* Voice with Lyrics
* Just Melody
* Voice with Lyrics again
Where the lyrics can be a single lyricmode entity.
I thought that this could be achieved with context, but this isn’t working:
melody = \relative c'' {
\clef treble
\key c \major
\time 3/4
\set Score.voltaSpannerDuration = #(ly:make-moment 3/4)
#(ly:expect-warning "cannot end volta")
\new Voice = "chorus" {
\voiceOne
c2. | d | e | d |
c |
}
e4 d c | e4 d c | e4 d c |
\new Voice = "verse" {
c2. | d | e | f |
g | f | e | d |
}
e4 d c | e4 d c | e4 d c |
\context Voice = "verse" {
c2. | d | e | f |
e | f | e | c |
}
}
chorus = \lyricmode {
These are words they are.
}
verse = \lyricmode {
This one here will
be the first verse.
This one here will
be the se -- cond.
}
What is an elegant way, please, to achieve this?
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user