lilypond-user
[Top][All Lists]
Advanced

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

Re:questions in regards to combining multiple parts


From: Flaming Hakama by Elaine
Subject: Re:questions in regards to combining multiple parts
Date: Sat, 16 Jun 2018 10:45:09 -0700


From: Kieren MacMillan <address@hidden>
To: address@hidden
 
Subject: Re: questions in regards to combining multiple parts
Hi crimsonsunrise,

> - Considering a number of scores have an odd number of instruments combined (i.e. 3 Trumpets, 3 Clarinets, etc.), why partcombine only works on an even number of parts? Shouldn't partcombine work on *n* number of parts instead?

Of course it should. But how to do so is somewhere between "extremely complicated" and "impossible", and nobody has decided to take on the programming project to date. We are fortunate it works as well as it does, due to the efforts of some wonderful volunteer programmers.

> - If, instead of partcombining the parts, you make them separate voices of a single staff, how you get the markups mentioned before to print in the combined staff without making them be something inside one of the parts?

I use the edition-engraver, because those kinds of markups are part of the presentation layer (not the content layer).

Hope that helps!
Kieren.


Not sure what all the hullabaloo is about.
You can iterate with \partcombine:


\version "2.19.15" 

trumpetOne = \relative c'' { c8 16 16 f2. }
trumpetTwo = \relative c'' { g8 16 16 a2. }
trumpetThree = \relative c' { e8 16 16 c2. }

trumpetsOneAndTwo = \partcombine \trumpetOne \trumpetTwo
trumpetThreeForPartcombine = \relative { \voiceTwo \trumpetThree }
trumpets = \partcombine \trumpetsOneAndTwo \trumpetThreeForPartcombine

<<
  \trumpets
>>
 


Elaine Alt
415 . 341 .4954                                           "Confusion is highly underrated"
address@hidden
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

reply via email to

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