lilypond-user
[Top][All Lists]
Advanced

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

Re: partcombine with 3-4 voices, flags not merged


From: Eby Mani
Subject: Re: partcombine with 3-4 voices, flags not merged
Date: Thu, 15 Nov 2018 19:27:59 +0000 (UTC)

Too bad \partcombine is limited to two voices after all these years.

Following is the excerpt from the file i'm working on and the output with & 
without transparent flag and beam. 

The flOff and flOn does help, but stems on bar 4 & 5 are not combined and notes 
are not shifted(bar 3 and 4).


*************
\version "2.18.2"

global = {
  \key a \major
  \time 3/4
}  

flOff = { \override Flag #'transparent = ##t 
\override Beam #'transparent = ##t }

flOn = { \override Flag #'transparent = ##f 
\override Beam #'transparent = ##f }

rhA = \relative c' {
    fis8 fis eis eis eis eis  
   
    fis fis fis fis a a
    eis eis eis eis gis gis 
    
    dis'4 dis8 e fis gis      
    a2 r4      
}

rhAB = \relative c' {
    cis8 cis cis cis cis cis
    
    cis cis cis cis fis fis
    cis cis cis cis eis eis
    
    s2.
    s2.
}

rhAC = \relative c' {
    s2.      
    s2.
    s2.

    a'2 s4      
    s2.      
}

rhAD = \relative c' {
\flOff
    s2.
    a8 a a a cis cis
    b b b b cis cis
\flOn   
    dis4 dis8 e fis gis     
    a2 r4      
}

pianoRHa =  << 
  \partcombine \rhA \rhAB
            >> 
        
pianoRHb = <<
\partcombine \rhAC \rhAD
           >>
        
lhA = \relative c' {  
    gis8 gis gis gis gis gis
    fis2 fis4 
    gis2 b4
    
    r8 fis fis e dis cis      
    bis4 dis fis      
}

lhB = \relative c {
        
    cis8 cis cis cis cis cis
    fis,2 fis4
    gis2 b4
    
    r8 fis fis e dis cis      
    bis4 fis' fis      
}

pianoLH =  << 
        \partcombine \lhA \lhB
        >> 
        

\score { 
\new PianoStaff <<
      \new Staff <<
        \set Staff.printPartCombineTexts = ##f
        \partcombine
        << \global \rhA >>
        << \global \rhAB >>
        << \global \rhAC >>
        << \global \rhAD >>
      >>
      \new Staff <<
        \clef bass
        \set Staff.printPartCombineTexts = ##f
        \partcombine
        << \global \lhA >>
        << \global \lhB >>
      >>
    >>
    
    
  \layout { }
}

\new Staff <<  \partcombine \global \pianoRHa \pianoRHb   >> 
********************

--------------------------------------------
On Thu, 15/11/18, Kieren MacMillan <address@hidden> wrote:

 Subject: Re: partcombine with 3-4 voices, flags not merged
 To: "Eby Mani" <address@hidden>
 Cc: "Lilypond-User Mailing List" <address@hidden>
 Date: Thursday, 15 November, 2018, 2:32 PM
 
 Hi Eby,
 
 On the page
 
  
 
<http://lilypond.org/doc/v2.19/Documentation/notation/multiple-voices#automatic-part-combining>
 
 is found the following:
 
   Known issues and
 warnings
   All \partcombine… functions
 can only accept two voices.
 
 Supporting more than two voices is a
 long-standing feature request.
 
 >
 I'm typesetting some piano music, I find it easier to
 break the chords into different voices(e.g. rhA, rhB, rhC)
 and combine using \partcombine, instead of putting the
 chourds in a single voice (e.g. RH).
 
 I’ve never found that to be
 true, despite setting a great deal of piano music: either
 the music is truly chordal (in which case I find it easiest
 to write out as chords), or the music is contrapuntal (in
 which case, multiple voices *without partcombine* is the
 correct approach).
 
 Hope
 this helps!
 Kieren.
 ________________________________
 
 Kieren MacMillan, composer
 ‣ website: www.kierenmacmillan.info
 ‣ email: address@hidden

Attachment: partcombine.png
Description: PNG image

Attachment: partcombine-with-transparent-beams-flags.png
Description: PNG image


reply via email to

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