lilypond-user
[Top][All Lists]
Advanced

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

Re: confusion in text spanning


From: Xavier Scheuer
Subject: Re: confusion in text spanning
Date: Thu, 26 Nov 2009 01:02:28 +0100

Le Wed, 25 Nov 2009 16:39:08 -0700,
Hugh Myers <address@hidden> a écrit :

> So where do I place it? Bearing in mind that note-wise, both the start
> and stop are correctly placed?

\stopTextSpan is unexpected because \startTextSpan is in another Voice !

There was a warning in the [old] doc about this :
(implicit temporary) Voices inside a << \\ >> construct are all
separate from the Voices outside the construct.
This warning doesn't seem to appear in the last versions of the doc...

Use explicitly instantiated voices instead :


firstPolyRepeat = {
  <<
    \new Voice = "VoiceOne" {
      \voiceOne
      r4 \startTextSpan \times 2/3 {gis'8 b e } e,4 \times 2/3 {gis8 b
      e} e,2 }
    \new Voice = "VoiceTwo" {
      \voiceTwo
      e,2.~e
    }
  >>
  \oneVoice
}
secondMono = \context Voice = "VoiceOne" {
 { e'8 [e'] gis, [e'] b [e] }
 { e,8 [e'] gis, [e'] b [e] }
 { a,8 [e'] c [e] b [e] }
 { a,8 [e'] g, [e'] f, [e'] }
}
thirdMono = \context Voice = "VoiceOne" {
 { e,8 [e'] gis, [e'] b [e] }
 { d8 [e] c [e] b [e] }
 { c8 [e] a, [e'] b [e] }
 { c8 [e] b [e] a, [e'] }
 { b8 [e] a, [e'] g, [e'] }
 { a,8 [e'] g, [e'] f, [e'] }
 \stopTextSpan
 \chordDottedHalf
}


Sincerely,
Xavier

-- 
Xavier Scheuer <address@hidden>

Attachment: signature.asc
Description: PGP signature


reply via email to

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