lilypond-user
[Top][All Lists]
Advanced

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

SATB vocal score example


From: Johan Vromans
Subject: SATB vocal score example
Date: Thu, 23 Nov 2006 16:10:54 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Hi,

In section D.4.1 of the manual for 2.8.7, there's nice example of a
SATB score.

In the example, the keyword \global is used in a way I cannot deduce
from the docs. In short (please see the doc section for the full
example):

  sopMusic  = \relative c'' { ... }
  altoMusic = \relative c'' { ... }
  ...
  \score {
    \new ChoirStaff <<
      ...
      \new Staff = women <<
        \new Voice = "sopranos" { \voiceOne << \global \sopMusic  >> }
        \new Voice = "altos"    { \voiceTwo << \global \altoMusic >> }
      >>
      ...
  }

What is the function of \global in \voiceOne and \voiceTwo?
Leaving it out does not seem to make a difference.

Just curious.

-- Johan




reply via email to

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