|
From: | Flaming Hakama by Elaine |
Subject: | Re: Subject: String Concatenation, and Use of Unicode characters [sic] |
Date: | Mon, 9 Mar 2015 19:14:18 -0700 |
> BTW, I also tend to prepare lead sheets in F and A. Of course, you may not need this. But if you are preparing a template, it might be helpful to include other common transpositions.
OK. The choice there is either to compile the file three times, adjusting \PieceTranspose in the sequence c c then c f then c a, or to make two more copies of the book-generating section, with (e.g.) \PieceTransposeFourth and \PieceTransposeSixth in between.
This would make it all a bit unwieldy, and as I want to be able to share this with novice LilyPond users, I don?t want the make the file too long or too clever!
> But below, instead of using \PieceTranspose everywhere (which kind of defeats the purpose of doing something globally) I would suggest transposing \TheChords and \TheHead and then using \TransposedChords and \TransposedHead in the template:
This comes to the same thing, but uses two extra variables.
But I can see the advantage in doing this in terms of clarity if it comes immediately after the definition of the PieceTranspose function.
[Prev in Thread] | Current Thread | [Next in Thread] |