[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Repeating a section with different transpose
From: |
Eljakim Schrijvers |
Subject: |
Repeating a section with different transpose |
Date: |
Fri, 10 Apr 2015 09:43:52 -0700 (MST) |
Hi there,
I have an exercise defined as follows (most of the actual notes taken out).
What I would like to do is transpose that exercise to g, d, a, e, b, fis,
..., f
and have it repeated in each key. I want each exercise displayed on a new
page. I would like to have the key printed in the title of each page.
Currently I just repeat the score for each transpose that I do (first three
shown below) and the print my PDF, manually write the key on top of it.
Surely, I must be able to do some kind of for t in (g,d,a,e...) { .. }
Can anyone help me with that syntax?
Thanks,
Eljakim
\version "2.18.2"
exercise = {
\clef treble
\key c \major
\omit Staff.TimeSignature
\relative c'
{
c8 [d] e [f]
}
}
\score {
\new GregorianTranscriptionStaff \exercise
} \pageBreak
\score {
\transpose c g
\new GregorianTranscriptionStaff \exercise
} \pageBreak
\score {
\transpose c d
\new GregorianTranscriptionStaff \exercise
} \pageBreak
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Repeating-a-section-with-different-transpose-tp174340.html
Sent from the User mailing list archive at Nabble.com.
- Repeating a section with different transpose,
Eljakim Schrijvers <=