lilypond-user
[Top][All Lists]
Advanced

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

Re: Lyrics on rest question


From: Jacques Menu
Subject: Re: Lyrics on rest question
Date: Sun, 29 Dec 2019 23:57:05 +0100

Hello Aaron,

Thanks a lot for your hints, the third one is the right way to go for me.

JM



%%%%%%%%%%%%%%%%%%%%%

\version "2.19.83"
% automatically converted by musicxml2ly from SyllableOnRest_musicxml2ly.xml


\header {
  title =  "Syllable on rest"
}


PartPOneVoiceOne =  \relative e' {
  \clef "treble" \key c \major \time 2/4 | % 1
  \stemUp e4. ^\markup{ \bold {Allegro} } r8 | % 2
  \stemUp d8 -\mf \stemUp d4 \stemUp e8 \break | % 3
  r8 \stemUp e8 [ \stemUp f8 \stemUp a8 ]
}

PartPOneVoiceOneLyricsOne =  \lyricmode {
  \set ignoreMelismata = ##t
  \skip4. \skip8 \skip8 "Syll.1"4 "Syll.2"8 "Syll.3"8 "Syll.4"8 "Syll.5"8
  "Syll.6"8
}


% The score definition
\score {
  <<

    \new Staff
    <<

      \context Staff <<
        %\mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
        \context Voice = "PartPOneVoiceOne" {  \PartPOneVoiceOne }
        \new Lyrics
       % \lyricsto "PartPOneVoiceOne"
        { \set stanza = "1." \PartPOneVoiceOneLyricsOne }
      >>
    >>

  >>
  \layout {}
  % To create MIDI output, uncomment the following line:
  %  \midi {\tempo 4 = 92 }
}

%%%%%%%%%%%%%%%%%%%%%




Le 28 déc. 2019 à 23:46, Aaron Hill <address@hidden> a écrit :

On 2019-12-28 2:39 pm, Jacques Menu wrote:
How can the « "Syll.3" » lyric be placed under the eigth rest at the
beginning of measure 3 to obtain the same result with Lily as with the
others?

A couple options I can think of:

1) Hidden pitch in the \lyricsto voice context; place the rest in a simultaneous voice.
2) Use \lyricsto with a NullVoice that has the timing you want.
3) Use explicit durations in the Lyrics; do not use \lyricsto.


-- Aaron Hill



reply via email to

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