lilypond-user
[Top][All Lists]
Advanced

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

Re: Conditional input


From: Simon Bailey
Subject: Re: Conditional input
Date: Fri, 30 Jan 2009 12:35:53 +0100

hi,

On Jan 30, 2009, at 12:27 PM, northofscotland wrote:
I would like to able to include some simple statements of the kind "if ... then ... else" in the note entry. What I would like to achieve is to have two options for a note so that if I wanted to change the instrument where the register doesn't match - violin to recorder for instance, I could just
change a flag or something similar at the start of the file and the
alternative notes would be substituted. I guess that it would be possible
with scheme, but I'm still trying to get my head round that!

Any ideas gratefully received, Thanks

have a look at \tag and \keepWithTag or \removeWithTag:

http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Different-editions-from-one-source
(the section "Using Tags").

hth, regards,
sb

--
Simon Bailey
Oompa Loompa of Science
+43 699 190 631 25





reply via email to

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