lilypond-user
[Top][All Lists]
Advanced

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

Re: Changing voice order...


From: David Kastrup
Subject: Re: Changing voice order...
Date: Wed, 02 Nov 2016 12:01:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Alexander Kobel <address@hidden> writes:

> On 2016-11-02 11:35, David Kastrup wrote:
>> Alexander Kobel <address@hidden> writes:
>>
>>> On 2016-11-02 11:20, David Kastrup wrote:
>>>> Alexander Kobel <address@hidden> writes:
>>>>
>>>>> I mostly set vocal music - typically clean SATB with exactly four
>>>>> voices on either two or four staves, but sometimes a voice splits to
>>>>> two or three in between.  In that case, I'll almost always have a
>>>>> four-staves situation.  This screams for << \\ >> or << \\ \\ >>.
>>>>>
>>>>> However, I attach lyrics to the voices, and that's why I give them
>>>>> sensible names - namely, "sop" (or "soprano"), "alt", etc.  The
>>>>> implicit voice naming with << \\ >> means that I have to split my
>>>>> lyrics to separate context, or I'll have to rename the voices inside
>>>>> << \\ >>.
>>>>
>>>> No, it just means that your lyrics have to follow the staff rather than
>>>> a single voice unless your lyrics split as well.
>>>>
>>>> Can't find the issue number where this was made to work.  Still has
>>>> problems with overlapping melismata if I remember correctly, so maybe
>>>> that's why it's not advertised prominently.
>>>
>>> Hum.  You mean if I name the staff instead of the voices, I can create
>>> lyrics that follow all voices that are active on this staff?
>>> Doesn't seem to work, but I might not have the right syntax.
>>
>> It's a 2.19 thing.
>
> Post-2.19.49?  Because that's what I tested with (without knowing what
> syntax might be required, though):
>
> \version "2.19.49"
> sop = \relative c'' {
>   c4 c c c
>   << { c c } \\ { g4. g8 } >> c4 c
> }
> \score {
>   <<
>     \new Staff = "sop" \sop
>     \new Lyrics \lyricsto "sop" { a b c d e f g h }
>   >>
> }
>
> test.ly:9:17: warning: cannot find Voice `sop'
>
>     \new Lyrics
>                 \lyricsto "sop" { a b c d e f g h }

Ugh.  Maybe it's just \addlyrics then?  Or wait:

\version "2.19.49"
sop = \relative c'' {
  c4 c c c
  << { c c } \\ { g4. g8 } >> c4 c
}
\score {
  <<
    \new Staff = "sop" \sop
    \new Lyrics \lyricsto Staff = "sop" { a b c d e f g h }
  >>
}
Uh, what?!?

lilypond /tmp/alex.ly
GNU LilyPond 2.19.50
Processing `/tmp/alex.ly'
Parsing.../usr/local/share/lilypond/2.19.50/scm/ly-syntax-constructors.scm:294:12:
 In procedure ly:music-property in expression (ly:music-property music (quote 
elements)):
/usr/local/share/lilypond/2.19.50/scm/ly-syntax-constructors.scm:294:12: Wrong 
type argument in position 1 (expecting Prob): "sop"

Uh, this looks like the parser actually knows how to deal with the
syntax as such but it royally messes up doing something useful with the
parsed results.

Well, it has been nice talking about this.  Let's continue this
discussion in a week or so.

-- 
David Kastrup

reply via email to

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