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: Han-Wen Nienhuys
Subject: Re: Feature request: conditional code for score and parts
Date: Tue, 26 Aug 2003 13:07:37 +0200

address@hidden writes:
> 
> 
> If you want to do some more advanced conditionals, it's always
> possible to do it with embedded Scheme code.

For music expressions you could use


               \apply #only-in-parts <stuff>

and then write a only-in-parts function that sets a music property
#'part-only in <stuff>.

Then a later function can filter out all expressions having the
#'part-only. Similarly, you can have expressions with #'score-only.

(or maybe it is neater to have a  property #'conditional, which is a
list of symbols, eg.

  #'conditional =  #'(F-part Eb-part)

or

  #'conditional =  #'(parts score) 

and filter by means of

    \apply #(filter-music 'score) <stuff>


One of the problems is that it is (not yet) possible to mark
articulations in a generic way.

-- 
Han-Wen Nienhuys   |   address@hidden   |   http://www.xs4all.nl/~hanwen 




reply via email to

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