[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Common Headings in Large Pieces
From: |
David Bobroff |
Subject: |
Re: Common Headings in Large Pieces |
Date: |
10 May 2004 14:18:25 +0000 |
If I'm understanding the problem correctly I solved this for myself
like this:
First I set up several files;
piece-defs.ly
-- contains all of the musical information (notes, keys)
part-defs.ly
-- contains individualized information for all of the parts, instrument
names etc.
axA = "Instrument One"
axB = "Instrument Two"
axC = "Instrument Three"
axD = "Intrument Four"
"ax" is a convenient abbreviation for me. It is slang for "instrument"
at least among Americans. I also used the 'part-defs.ly' file to set up
clefs as I wanted to be able to change the instrumentation.
Then there is each part's score file which looks like this;
\include "part-defs.ly" % includes the definitions for all parts
ax = \axA % selects which instrument
\include "piece-defs.ly"% includes all musical information
\score { \notes {
\set Score.skipBars = ##t
\staffA}
\paper {
}
}
I used decriptors like 'staffA' 'axA' etc, so I could re-use the code
with different 'piece-def.ly' files.
-David