[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: extracting a single “vocal line” (including lyrics) from multiple va
From: |
David Kastrup |
Subject: |
Re: extracting a single “vocal line” (including lyrics) from multiple variables |
Date: |
Thu, 29 Feb 2024 15:54:54 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Simon Albrecht <simon.albrecht@mail.de> writes:
> This could be preferable if you can delineate the sections
> well. Trying out \partcombine quickly made me avoid it until
> absolutely necessary, but maybe it becomes manageable with clever and
> experienced use of \partCombineApart and friends. In choral pieces, I
> often use a single variable that contains all the lyrics, tagged
> depending on who does and doesn’t use which part and then filtered in
> the score setup. I believe that it makes a key difference to use both
> \keepWithTag _and_ \removeWithTag like this:
>
> %%%%%%%%%%%%%%%%
> text = \lyricmode {
> \tag A { on -- ly al -- to }
> \tag nA { ev’ -- ry -- one ex -- cept al -- to }
> }
>
> \score {
> <<
> %{ simultaneous music expression with everything for soprano part %}
> \keepWithTag A \removeWithTag nA <<
> \variableThatContainsAltoNotes
> \addlyrics \text
>>>
I'd rather use
\tagGroup alto,non-alto
\lyricmode {
\tag alto { on -- ly al -- to }
\tag non-alto { ev’ -- ry -- one ex -- cept al -- to }
}
\keepWithTag alto ...
\keepWithTag non-alto ...
But one would need to look at the rest to see whether this kind of tag
group would end up problematic.
--
David Kastrup