|
From: | Jean Abou Samra |
Subject: | Re: Voice for Lyrics |
Date: | Thu, 09 Feb 2023 14:20:18 +0100 |
User-agent: | Evolution 3.46.3 (3.46.3-1.fc37) |
Le jeudi 09 février 2023 à 14:04 +0100, Johannes Roeßler a écrit :
Hi,
I'm looking how to assign the lyrics two one of two voices in one staff in the simplest way with my "normal" source code:
bassVoicePart = \new Staff \with {
midiInstrument = "oboe"
\consists "Merge_rests_engraver"
} { \clef bass << \bass \ \bassII >> }
\addlyrics { \verseOne }
how do I integrate lyricsto correctly?
Best regards
Joei
The most common way would be
\version "2.24.0"
bass = { c'4. 8 }
bassII = { c8 4. }
verseOne = \new Lyrics \lyricmode { ah oh }
<<
\new Staff \with {
midiInstrument = "oboe"
\consists "Merge_rests_engraver"
}
{
\clef bass
<<
\new Voice = voiceI { \voiceOne \bass }
\new Voice = voiceII { \voiceTwo \bassII }
>>
}
\lyricsto voiceII { \verseOne }
>>
but you can also shorten it with \voices
:
<<
\new Staff \with {
midiInstrument = "oboe"
\consists "Merge_rests_engraver"
}
{
\clef bass
\voices 1,2 << \bass \\ \bassII >>
}
\lyricsto "2" { \verseOne }
>>
Reading https://lilypond.org/doc/v2.24/Documentation/learning/explicitly-instantiating-voices might help.
Best,
Jean
signature.asc
Description: This is a digitally signed message part
[Prev in Thread] | Current Thread | [Next in Thread] |