lilypond-user
[Top][All Lists]
Advanced

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

Transposing a whole book (pieces in different keys) by a given interval


From: Thomas Green
Subject: Transposing a whole book (pieces in different keys) by a given interval
Date: Tue, 22 Sep 2009 04:49:04 -0700 (PDT)

Yet another transposition question, for which I'd appreciate help.

I have a 'book' containing several scores. The scores are in different keys
- something like Air in C, March in F, and so on. Also, each piece (score)
is set for several instruments. And I have a Lilypond script that compiles
all the music files and generates score and parts. OK so far.

Now, for various reasons, I want to transpose the whole shebang by an
interval - for example, I might want a version for 3 recorders instead of 3
flutes. (That's a familiar baroque transposition.)

What I need, therefore, is an instruction that says "transpose this entire
music book by (say) a fourth". The key signatures all need to be transposed
and the note pitches changed.  (Please note that this is not the same as the
more common problem of scores in which individual parts have to be
transposed.)

I don't see how I can use the \transpose command to transpose the whole
book. First, it only works on a single score, as far as I can figure out.
That's bad enough, since it means adding a lot of \transpose commands to my
script; but I could do that with a smart text editor. The worse problem is
that each \transpose command has to take individual account of the key of
the current score, so for my example of a piece in C followed by a piece in
F, all to be transposed a fourth, I'd need the first command to be
\transpose c f and the second command to be \transpose f bes. 

Is there a Scheme function that will help? Or has somebody maybe written a
preprocessor that will do it? Or anything else? 

Or did I just miss the answer in the manuals and in the archives, in which
would please point me the right way and accept my apologies?

Many thanks

Thomas


-- 
View this message in context: 
http://www.nabble.com/Transposing-a-whole-book-%28pieces-in-different-keys%29-by-a-given-interval-tp25530686p25530686.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.





reply via email to

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