lilypond-user
[Top][All Lists]
Advanced

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

Re: rearrange music flow


From: Antanas Budriūnas
Subject: Re: rearrange music flow
Date: Sat, 27 Dec 2008 19:47:28 +0200

2008/12/27 Carl D. Sorensen <address@hidden>:
>
> 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

reply via email to

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