lilypond-user
[Top][All Lists]
Advanced

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

Re: extracting a single “vocal line” (including lyrics) from multiple va


From: Simon Albrecht
Subject: Re: extracting a single “vocal line” (including lyrics) from multiple variables
Date: Fri, 1 Mar 2024 14:32:35 +0100

Hi Kieren,

On 29.02.24 15:42, Kieren MacMillan wrote:
I didn’t see an issue/request for quoting lyrics, so I added one 
(https://gitlab.com/lilypond/lilypond/-/issues/6700) and we’ll see how the 
discussion goes.  :)

I was curious and tried, and in fact you can quote lyrics perfectly well. It’s just that of course the quoting logic is based on durations, so I think explicit durations are unavoidable:

%%%%%%%
\version "2.25.12"

sopranoNotes = {
  4 4 8 8 4
}
\addQuote "sopranoNotes" \sopranoNotes
sopranoLyrics = \lyricmode {
  is4 this all8 the text?4
}
\addQuote "sopranoLyrics" \sopranoLyrics
altoNotes = {
  8 8 4 \quoteDuring "sopranoNotes" s2
}
altoLyrics = \lyricmode {
  no,8 it’s not4 \quoteDuring "sopranoLyrics" \notemode { s4 } text!4
}

\score {
  <<
    \new Staff \new Voice \sopranoNotes
    \new Lyrics \sopranoLyrics
    \new Staff \new Voice \altoNotes
    \new Lyrics \altoLyrics
  >>
}
%%%%%%%%%%%%

Best, Simon

PS. I’ll add this to the issue right away while I’m at it.



reply via email to

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