lilypond-user
[Top][All Lists]
Advanced

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

Re: Context creation


From: Kieren MacMillan
Subject: Re: Context creation
Date: Mon, 2 Jun 2008 22:02:41 -0400

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.




reply via email to

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