lilypond-devel
[Top][All Lists]
Advanced

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

Re: Feature request: conditional code for score and parts


From: Mats Bengtsson
Subject: Re: Feature request: conditional code for score and parts
Date: Tue, 26 Aug 2003 12:13:51 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312

You can do that with the current LilyPond:

myMusic = \notes{ ... }
specificInFullScore = \notes { \skip 1*24 \break
                               \skip 1*3 \blablabla ...}

specificInPart = \notes { \skip 1*15 \break
                          \skip 1*8  \somethingelse ...}

% The full score:
\score{
  \context Staff < \myMusic \specificInFullScore >
  ...
}

% The individual part:
\score{
  \context Staff < \myMusic \specificInPart >
  ...
}


If you want to do some more advanced conditionals, it's always
possible to do it with embedded Scheme code.

   /Mats



Pedro Kroger wrote:
Hi,

I really like the fact that lilypond doesn't have the concept of part
extraction. It's nice to use the concept of "write once..." :)

But a feature that would be nice is to be able to have commands that
will take effect only on the full score or the individual part. Some
sort of conditional command. For instance, a markup text may need be
manually corrected in a certain degree in the score and in another
degree in the parts. This would be useful to markup texts, cues, etc.

Cheers,

Pedro


_______________________________________________
Lilypond-devel mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/lilypond-devel

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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