Suppose I have a solo part which can be played either on cello or on
viola da gamba. Cello solo parts are normally written in a mixture
of bass and tenor clefs; gamba parts in a mixture of bass and alto
clefs. In either case it's quite possible to encounter a change of
clef every few bars.
What's the most elegant way in which I can enter the notes just
once, but generate two output scores - one with bass and tenor
clefs, the other with bass and alto clefs?
I can see that I could assign strings containing notation for one
pair of clefs to Scheme variables, generate corresponding strings
for the other pair of clefs by Scheme string operations, and then
invoke the LilyPond parser explicitly on the two sets of strings.
It doesn't feel to me like a natural solution. Is there an
obviously better one?
Thanks in advance.
Christopher.
|