lilypond-user
[Top][All Lists]
Advanced

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

orchestra and individual parts


From: Marc Mouries
Subject: orchestra and individual parts
Date: Mon, 20 Jun 2011 22:00:52 -0400

The common templates for orchestral music require to remove comments when using separate files. (ex: http://lsr.dsi.unimi.it/LSR/Item?id=359).

I am using the following structure that does not require commenting and un-commenting the score parts but this requires to create one more file for each part to generate the individual part.

   pieceName_instrument-1-part.ly
   pieceName_instrument-1-score.ly
   pieceName_instrument-2-part.ly
   pieceName_instrument-2-score.ly
   pieceName_score.ly

I thought about defining a macro (like IFDEF in C++) that would un-comment the \score block in each of the instrument part if the file has been included.

Example in pseudo code:

   pieceName_instrument-1-part.ly
   => contains  the following code:

If ( FILE_IS_INCLUDED) {
%{
\score {
  ....
  instrument_1
}
%}

Any idea if that is possible?




   pieceName_instrument-2-part.ly
   pieceName_score.ly



reply via email to

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