lilypond-user
[Top][All Lists]
Advanced

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

Re: 3 Voices one staff


From: David Kastrup
Subject: Re: 3 Voices one staff
Date: Thu, 04 May 2017 18:29:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Johannes Roeßler <address@hidden> writes:

> Hi,
>
> I have to set this piano notes:
>
> *
>
> With the direction of the stems indicating the hand (so I can't put the lower 
> two
> just into accords).
>
> Not surprisingly it looks rather ugly - even without beaming the middle voice
> together
> *
>
> \version "2.19.58"
>
> \relative c'{ 
> <<{\stemUp a'8 b b }\\{\stemUp dis16[ e] e[fis] fis[gis32 a] }\\{\stemDown  
> fis,8[
> g dis]}>> 
> }
>
> Any hints?

Don't use \stemUp/\stemDown ever.  They are not voice indications but
building blocks for voice indications.  On their own, they don't make
sense.  Instead use \voiceOne for the top voice, \voiceTwo for the
bottom voice, \voiceThree for the next to top voice...

Now things are even worse because you not just fiddle with
\stemUp/\stemDown but also combine it with << \\ \\ >> which already
_assigns_ voice styles incompatible with your stem directions.

You could write

\version "2.19.59"

\relative c'{
  \voices 3,1,2
  <<{a'8 b b }\\{dis16[ e] e[fis] fis[gis32 a] }\\{fis,8[ g dis]}>> 
}
and get

PNG image

If you really want to use 2.19.58 instead of 2.19.59, the \voices
shortcut will not be available.

So instead of writing \voices 3,1,2 before the << >> group, you replace
your \stemXXX commands with \voiceThree, \voiceOne, \voiceTwo
respectively.

-- 
David Kastrup

reply via email to

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