lilypond-user
[Top][All Lists]
Advanced

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

Re: \oneVoice and \voiceXX commands having the wrong scope


From: Mats Bengtsson
Subject: Re: \oneVoice and \voiceXX commands having the wrong scope
Date: Fri, 28 Jan 2005 11:16:16 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

Sorry for the confusion! Taking another look at Yuval's second example,
the simple explanation is of course that he doesn't use the \\ feature
at all. In fact,
    << {\voiceOne r1-"voiceOne"} >>
does not create any new context at all, it's actually equivalent to
      \voiceOne r1-"voiceOne"

Yuval, consider the following example:

\context Voice = main {
  c1^"In the main voice"
  <<{ c1^"Still in the main voice" }
    \new Voice{c1^"A newly created second voice"} >>
  c1^"Again, still in the main voice"
}

   /Mats

Han-Wen Nienhuys wrote:
address@hidden writes:

Hackers: Is my guess below correct? In that case, wouldn't it be better
to change the routine that invents new context identifiers so it never
gives the names "1", ..., "4"?


"1" to "4" are only assigned by << \\  >> . Default names are either
empty or "\new" (for \new Contexts)


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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