lilypond-user
[Top][All Lists]
Advanced

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

Re: Trying to get the hang of "Polyphony with Shared Lyrics" section of


From: Lukas-Fabian Moser
Subject: Re: Trying to get the hang of "Polyphony with Shared Lyrics" section of the manual.
Date: Fri, 29 Oct 2021 22:20:58 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0


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


reply via email to

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