Again, much thanks. I would not have known this without your post. The Documentation page you reference clearly shows use of the "older" type of temporary polyphonic context and in the text explicitly mentions its use for lyric continuation. Yet doing so does require the use of \skip1 in lyrics (which fact I've complained of on this list in the past) given other internal changes to LP.

I am very happy to have a solution. Of course, now I have to remember to explictly created named voices so they can be reverenced at need. But that doesn't seem to onerous a burden given the utility.

Regards.

P.S. Kevin - use Lukas-Fabian's code to solve your lyric placement problem. It's "modern"  and had the advantage that future code edits that may add or remove music may not also require you to add or remove the \skip1 in your lyrics (which, I confess, can be a right PITA).

On 10/29/21 3:20 PM, Lukas-Fabian Moser wrote:


Am 29.10.21 um 22:14 schrieb Guy Stalnaker:

Whoa! What is this magic you're doing Master Moser??

    - I made sure that the bf4. on "days" stays in the voice called
    melody. There are various ways to do this; I chose a "modern" way
    using \voices and \\ inside << >> which allows to automatically
    add a "second" voice

This is a technique completely unknown to me! It is much more simple than the

%%%%
<<
{ \voiceOne }
    \new Voice { \voiceTwo {
    }}
>> \oneVoice %%%%

coding that I have long used.

Much thanks!!

Thanks and credit are due to Master :-) Kastrup (in a series of commits from 2017), but unfortunately, the documentation of \voices in https://lilypond.org/doc/v2.23/Documentation/notation/multiple-voices.html doesn't show all its possibilities. A good explanation is in the docstring to be found at https://lilypond.org/doc/v2.22/Documentation/notation/available-music-functions:

 \voices [music] - ids (list of indexes or symbols) music (music)

    Take the given key list of numbers (indicating the use of ‘\voiceOne’…) or symbols (indicating voice names, typically converted from strings by argument list processing) and assign the following \\-separated music to contexts according to that list. Named rather than numbered contexts can be used for continuing one voice (for the sake of spanners and lyrics), usually requiring a \voiceOne-style override at the beginning of the passage and a \oneVoice override at its end.

    The default

        << … \\ … \\ … >>

    construct would correspond to

        \voices 1,2,3 << … \\ … \\ … >>

The inconspicuous "... or symbols (indicating voice names)" is very powerful.

Lukas

--
--

“Happiness is the meaning and the purpose of life, the whole aim and end of 
human existence.”

― Aristotle

Reply via email to