2008/12/27 Carl D. Sorensen <c_soren...@byu.edu>:
>
> Aha!  I got it!   The secret was to explicitly name the Staff and Voice
> contexts, and use \context instead of \new.
>
> \version "12.0.0"
> intro = <<
>  \context Staff = "StaffOne" {
>    \context Voice = "VoiceOne" {
>      c''4 c''
>    }
>  }
>  \context Staff = "StaffTwo" {
>    \context Voice = "VoiceTwo" {
>      c'4 c'
>    }
>  }
>>>
>
> verseOne = <<
>  \context Staff = "StaffOne" {
>    \context Voice = "VoiceOne" {
>      d''4 d'
>    }
>  }
>  \context Staff = "StaffTwo" {
>    \context Voice = "VoiceTwo" {
>      d'4 d'
>    }
>  }
>>>
>
> chorus = <<
>  \context Staff = "StaffOne" {
>    \context Voice = "VoiceOne" {
>      e''4 e''
>    }
>  }
>  \context Staff = "StaffTwo" {
>    \context Voice = "VoiceTwo" {
>      e'4 e'
>    }
>  }
>>>
>
> verseTwo = <<
>  \context Staff = "StaffOne" {
>    \context Voice = "VoiceOne" {
>      f''4 f''
>    }
>  }
>  \context Staff = "StaffTwo" {
>    \context Voice = "VoiceTwo" {
>      f'4 f'
>    }
>  }
>>>
>
> \score {
>  {
>    \intro
>    \verseOne
>    \chorus
>    \verseTwo
>  }
> }

Excellent!!!

Carl, You are probably Santa Claus and this snippet is a Christmas miracle :)

It must be in the LSR IMO

Antanas Budriūnas
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to