On 10/02/2025 10:17, Timothy Lanfear wrote:
On 09/02/2025 10:09, Raphael Mankin wrote:
Attached is a MWE.

I tried using explicit syllable lengths, but it appears that they were ignored. So writing "rhythm4" or "jer8 -- "ky8" does nothing.

Switching the order of the voices in << ... >> made no difference; it always aligned to the shorter notes. So " << c4 \\ {a8  a8 } >>" or "<< {a8  a8 } \\ c4 >>" yielded the same result.

I have not played with  more complicated rhythms, e.g. tuplets. Sufficient unto the day is the evil thereof.

For the simple cases I need atm it seems that a spacer "_" is sufficient. Beyond that, it is guess and fiddle.

Here is your example adjusted to use explicit syllable durations.

\version "2.24.3"
\language "english"

\header {
   title = "Variant Rhythms"
   subtitle = "Explicit syllable lengths"
}

global = {
   \key c \major
   \time 4/4
   \partial 4
}

chordNames = \chordmode {
   \global
   % Chords follow here.

}

melody = \relative c'' {
   \global
   % Music follows here.
   c4 |
   c4 c << c4 \\ {a8  a8 } >> c4 |
   c4 c8 c c4
}

verseA = \lyricmode {
   % Lyrics follow here.
   Verse4 with smooth rhythm words
   And stac8 -- ca -- to4
}

verseB = \lyricmode {
   % Lyrics follow here.
    Verse4 with short jer8 -- ky words4
    And stac8 -- ca -- to4
}
\score {
   <<
     \new ChordNames \chordNames
     \new Staff { \melody }
     \new Lyrics { \verseA }
     \new Lyrics { \verseB }
   >>
   \layout { }
}

--
Timothy Lanfear, Bristol, UK.


I was, and remain, chary of using explicit syllable lengths as I then have to add them to the whole of the lyric. That quickly gets tedious.

I think that for cases where the differences between verses are extensive I would use a NullVoice for the variants. But most cases that I have seen so far have only isolated variations, so using a spacer "_" is simplest.

And I also take Xavier's point about not using "<< ... \\ ... >>", but I am trying to find a minimum effort solution, not a most general, perfect one.


Reply via email to