[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Alternative partcombine strategy possible?
From: |
Abel Cheung |
Subject: |
Alternative partcombine strategy possible? |
Date: |
Fri, 11 Jul 2014 19:56:48 +0800 |
Does anybody have experience about overriding existing partcombine
methods? I have a score that behave like the one below:
- When both voices have identical rests, use partcombineUnisonoOnce
- Use partcombineApart for everything else
In the snippet below, the second line represents what I intended to
do, but manually overriding each rest for several hundred bars isn't
quite practical. Is there any possibility of using custom value for
PartCombineForceEvent forced-type property? Or there's any other
elegant method that helps saving note input time?
==========================
upper = \relative c' { c4 r8 d r4 e8 d c2 r2 }
lower = \relative c' { c4 r8 b c d e b c2 r2 }
upperClumsy = \relative c' {
\partcombineApart c4
\partcombineUnisonoOnce r8
d r4 e8 d c2
\partcombineUnisonoOnce r2
}
\partcombine { \partcombineApart \upper } \lower
\partcombine \upperClumsy \lower % <--- desired
==========================
--
Abel Cheung
New GPG Key fingerprint: F43B 7F88 3D7B 4B58 928E 0151 EC2B E414 3B03 A8AC
Old GPG Key fingerprint: 671C C7AE EFB5 110C D6D1 41EE 4152 E1F1 C671 86FF
- Alternative partcombine strategy possible?,
Abel Cheung <=