lilypond-user
[Top][All Lists]
Advanced

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

Re: Manual syllable durations questions


From: David Kastrup
Subject: Re: Manual syllable durations questions
Date: Sat, 15 Jul 2017 16:33:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Menu Jacques <address@hidden> writes:

> Hello folks,
>
> I’m trying to obtain a second score identical to the first one in the
> example below, without using \lyricsto and with syllables having their
> duration attached to them, but no way.
>
> How can that be done?

_ is a syllable of its own, and you need to work with associatedVoice as
well (maybe this is an oversight with regard to extenders?  I think that
Janek did at some point of time make this unneeded for aligning
syllables as such to proper notes/notecolumns).

%%%%%%%%%%%%
melody = \relative {
  c'1 d2 e2 |
  f1
}

lyricsWithoutDurations = \lyricmode {
  "do" __ _ _ |
  "fa"
}

lyricsWithDurations = \lyricmode {
  "do"1 __ _2 _ |
  "fa"1
}

<<
  \new Staff <<
    \context Voice = "melody" <<
      \melody
    >>

    \new Lyrics \lyricsto "melody" {
      \lyricsWithoutDurations
    }
  >>
>>

<<
  \new Staff <<
    \context Voice = "melody" <<
      \melody
    >>

    \new Lyrics \with { associatedVoice = "melody" } {
      \lyricsWithDurations
    }
  >>
>>
%%%%%%%%%%%%

-- 
David Kastrup

reply via email to

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