I'm going to use Lilypond to write out some scales for my students, and
I'd like to define each scale as an identifier, so that I can then
simply \include a file full of scale definitions and type the name of
each scale I want to write out for a particular student.
When I do it this way...
cmajoroneoctave = {
\new Staff << \relative c' {
\override Staff.TimeSignature #'transparent = ##t
\cadenzaOn c8[ d e f] g[ a b c] b[ a g f] e[ d] c4 \cadenzaOff \bar "||"
}
>> }
...things work fine, but what I'd really like to do is to make the
\score block part of the \cmajoroneoctave identifier, so that the \book
block can just contain a list of scale names.
However, I can't seem to get anything along these lines...
cmajoroneoctave = { \score {
\new Staff << \relative c' {
\override Staff.TimeSignature #'transparent = ##t
\cadenzaOn c8[ d e f] g[ a b c] b[ a g f] e[ d] c4 \cadenzaOff \bar "||"
}
}
>> }