On Sunday 15 December 2002 10.53, neuro wrote: > Is this list still working? > > How do I make a structured .ly like .. > If I want some scales exercies, for example, for the piano, > from major/minor with no incidentals, then increasing the shart and flat > incidentals one by one, > may I write the various files elsewhere, one for each line, like > c_major.ly c_minor.ly g_major.ly g_minor.ly f_major.ly f_minor.ly ... > [ (7 sharps + 7 flats + no incidentas)*2 = 30 files ] > then includes all the small scale files into the final one, and it would > have 30 lines.
I do not fully understand exactly what you want... but if you want one score for each scale, then put one score with one scale in each file (like "\score {\notes {\key c \major c d e f g a b c'}}"), and then create a file all.ly containing \include "c_major.ly" \include "c_minor.ly" ... and so on, 30 lines. However, in this particular case it would be even more clever to make use of variables and \transpose, i.e. define the scale exercise for just one key once (like MajorScale = \notes {\key c \major c d e f g a b c'}) and then use "\transpose f' \MajorScale" to get a f major scale. This will transpose the key as well as all the notes to the new key. Erik _______________________________________________ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user