On 12/15/08 2:26 PM, "Han-Wen Nienhuys" <hanw...@gmail.com> wrote:

> 2008/12/15 Carl D. Sorensen <c_soren...@byu.edu>:
>> 
> 
>> I'd say it differently:
>> 
>> EXPRESSIONS:
>>   Establish the timing of music-events relative to one another
> 
>> CONTEXTS:
>>  Provide the evaluation environment (my words, not Han-Wen's) in which all
>>  music events will be evaluated when it's time to put them in the output
>>  stream (midi file or printed page).
> 
> very well said.
> 
>> The confusion comes in because, if there is no appropriate context
>> available, when LilyPond sees a music expression it will automatically
> 
> In this case,  the order of instantation depends on the order in the
> music expression, which helps people confuse context and music
> expressions too.

But it's the order in the music stream, not the input stream, isn't it?
Otherwise, why does

{
  \new Voice="foo" {
    c
  }
  d
}

result in only a single voice being instantiated, but

{
  d
  \new Voice="foo" {
    c
  }
}

result in two voices being instantiated?

Thanks,

Carl 



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to