lilypond-user
[Top][All Lists]
Advanced

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

Changing default \partcombine rest behaviour


From: Brent Annable
Subject: Changing default \partcombine rest behaviour
Date: Thu, 17 May 2018 19:50:33 +1000

Hi all,

I've just started using \partcombine, and have noticed that, by default, it doesn't print a rest in one part that coincides with a note of the same duration in the other part. I want it to print both the note and the rest. I know that I can use \partcombineApart to get around individual instances of this behaviour, but a recent editing decision means I have to go through about 70 existing pieces and change them all using \partcombine, and I'd rather not have to manually search for missing rests and insert a bunch of \partcombineApart commands. 

Is there any way to override this behaviour globally, and make it print the rest and note separately? I enclose an example to show what I mean:

\version "2.19.65"

partA = \relative c' {e4^"Default" e r e}

partB = \relative c' {e4 e \once \partcombineApart r e}

partC = \relative c' {c4 c c c}

\score {
 \new Staff \with {printPartCombineTexts = ##f}
 \partcombine \partA \partC
}

\score {
 \new Staff \with {printPartCombineTexts = ##f}
 \partcombine \partB \partC
}


Many thanks for your time and any input,

Brent.

Attachment: partcombine.pdf
Description: Adobe PDF document


reply via email to

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