2013/12/8 Marten Visser <[email protected]>:
>> > Also, the log file complains about:
>> > D:/Marten/Muziek/Bladmuziek/Lilypond/CueVoiceTextError.ly:45:32:
> warning:
>> > unterminated hyphen; removing
>> > K' -- a -- jal ta' -- a
>> > -- rog
>>
>> That's because there was now note for "rog"
>
> Well, only part of the text should be associated to the CueVoice, of
> course. I defined the voice it should be associated with inside \new Staff.
> Why is that not acceptable?
Again, you wrote no note to which the "rog"-syllable could be attached
to, but you want a LyricHyphen. Between what? To the left there's the
"a"-syllable, though to the right is nothing because the music/note is
missing.
This has nothing to do with associated Voices. LilyPond complains right.
I can't see a bug here. Or am I missing something? If yes, please give
a better example.
> The problem really is about how to associate text of deviating stanzas with
> the cuenotes indicating what should be sung instead. And this in
> combination with parallelmusic.
>
> The example is here:
> ============================================================
> %CueVoiceTextError 2
>
> \version "2.16.2"
>
> musicalContent = #(define-music-function (parser location) ()
No need for a music-function. Just musicContent = { ... }
> #{
> % maat 1
> g2. c,4 |
> r1 |
> \noBreak
>
> % maat 2
> <<as'1 \new CueVoice = "DutchSpecificOne" { as2. f8[ f] }>> |
> r1 |
> \noBreak
>
> % maat 3
> f2. bes,4 |
> r1 |
>
> #}) % End of musicalContent
>
>
> StanzaOneHebrewTrans = \lyricmode {
> K' -- a -- jal ta' -- a -- rog
> }
>
> StanzaOneDutch = \lyricmode {
> Als een \set associatedVoice = #"DutchSpecificOne" hert dat
> \set associatedVoice = #"Melody"
> ver -- langt en dorst
> }
>
> \parallelMusic #'(VocalStaffNotesMelody
> VocalStaffNotesTenor)
> \musicalContent
>
> \score {
> <<
> \new Staff {
> \key c \minor
> \new Voice = "Melody" { \relative c''
> \VocalStaffNotesMelody }
> \new Lyrics \lyricsto #"Melody"
> {\StanzaOneHebrewTrans}
> \new Lyrics \lyricsto #"Melody" {\StanzaOneDutch}
Don't put \new Lyrics _in_ \new Staff
> }
> >>
> \layout {}
> }
>
> ============================================================
>
> Regards,
> Marten
A working score:
\score {
<<
\new Staff {
\new Voice = "Melody" {
\key c \minor
\relative c'' \VocalStaffNotesMelody
}
}
\new Lyrics \lyricsto "Melody" {\StanzaOneHebrewTrans}
\new Lyrics \lyricsto "Melody" {\StanzaOneDutch}
>>
\layout {}
}
Again, no bug here.
HTH,
Harm
_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond