lilypond-user
[Top][All Lists]
Advanced

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

Re: help: stems in multiple voices per staff


From: Mats Bengtsson
Subject: Re: help: stems in multiple voices per staff
Date: Thu, 20 Feb 2003 13:03:41 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212

I don't really see what your problem is.
You can do both

BrassTwoVoices=<
        \context Voice="VoiceA" {\voiceOne \VoiceA}
        \context Voice="VoiceB" {\voiceTwo \VoiceB}
 >

and

BrassOneVoice= \context Voice="BrassVoice" <\VoiceA \VoiceB>

   /Mats

Joerg Anders wrote:
Hello!

I have a (possibly) very simple question. Have a look at this
simple example:

 VoiceA = \notes\relative c' { \clef violin c'2 r2 \bar "|." }
 VoiceB = \notes\relative c' {e2 r2}

 Brass = <
        \context Voice="VoiceA" \VoiceA
        \context Voice="VoiceB" \VoiceB
 >
 \score {
        \context Staff="Brass" \Brass
 }

Two halfs e and c'. But LilyPond applies the default stem rules:
e stem up, c' stem down. Actually OK, but both halfs appear at the same staff. Thus, a stems overlap.
Ok, I could use the "\stemUp", \"stemDown" statements.
But  isn't there a better way ?  What if I want to use "VoiceA"
and "VoiceB" in other scores as single voices ?

I assume LilyPond can recognize the problem automatically.


--
=============================================
        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]