lilypond-user
[Top][All Lists]
Advanced

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

Re: Context creation


From: coffer
Subject: Re: Context creation
Date: Tue, 3 Jun 2008 08:43:05 -0700 (PDT)


Kieren MacMillan wrote:
> 
> Hi Jesse,
> 
>> If \context allegedly allows one to add notes to an existing context,
>> why does the following example not do so?
>>
>> \version "2.10.33"
>>
>> \new Staff = "mycontext" \relative c' { c4 d e f g2. }
>>
>> \context Staff = "mycontext" \relative c' { g'4 g f e d c1 }
> 
> Because you have asked (implicitly) for two different Staff  
> contexts.  =)
> 
> What you want is to force the two musics to be *consecutive* rather  
> than *concurrent*:
> 
> { \new Staff = "mycontext" \relative c' { c4 d e f g2. } \context  
> Staff = "mycontext" \relative c' { g'4 g f e d c1 } }
> 
> Hope this helps!
> Kieren.
> 
> 
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

It was helpful for me to understand the example from

http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Divisi-lyrics#Divisi-lyrics

\score{ <<
       \new Voice = "melody" \relative c' {
         c2 e | g e | c1 |
         \new Voice = "verse" \repeat volta 2 {c4 d e f | g1 | }
         a2 b | c1}
       \new Lyrics = "mainlyrics" \lyricsto melody \lyricmode {
         do mi sol mi do
         la si do }
       \context Lyrics = "mainlyrics" \lyricsto verse \lyricmode {
        do re mi fa sol }
       \new Lyrics = "repeatlyrics" \lyricsto verse \lyricmode {
        dodo rere mimi fafa solsol }
     >>
     }

In this case the "\context Lyrics" doesn´t start a new line but fit a new
lyrics part in the existing line (stanza). That means "consecutive"
lyrics...

coffer
-- 
View this message in context: 
http://www.nabble.com/Context-creation-tp17588961p17626698.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.





reply via email to

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