lilypond-user
[Top][All Lists]
Advanced

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

filtering out common elements (e.g., markup) in partcombine


From: Kieren MacMillan
Subject: filtering out common elements (e.g., markup) in partcombine
Date: Tue, 20 Sep 2016 20:05:40 -0400

Hello all,

Consider the following snippet:

%%%%  SNIPPET BEGINS
\version "2.19"
partA = { c’’1\p^\markup { soli } }
partB = { e’1\p^\markup { soli } }
\partcombine \partA \partB
%%%%  SNIPPET ENDS

I would like “soli” to appear in each part (code not shown here), but only have 
it shown once when partcombined in the score (the snippet above). Is there a 
way to do that without using \tag?

The partcombine mechanism is smart enough to filter out identical dynamics (see 
snippet output) — I was hoping it would be (or could be coerced into being) 
similarly intelligent with respect to markup.

Thanks,
Kieren. 
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden




reply via email to

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