Re: Conditional expressions

2003-02-25 Thread Mats Bengtsson
Dr A V Le Blanc wrote: ... Well, I have only given simple examples. Suppose I want the midi file to have a different rhythm than the source, for example, as is the case in some music styles. In fact, I think my rptarg = "volta" ... \repeat \rptarg 2 method completely simple. If I

Re: Conditional expressions

2003-02-24 Thread Han-Wen Nienhuys
[EMAIL PROTECTED] writes: > Is it possible to pass two music expressions to a scheme function > as arguments? > no, but you can use \apply #func { arg1 arg2 } this passes a sequential music with 2 elts to func. -- Han-Wen Nienhuys | [EMAIL PROTECTED] | http://www.cs.uu.nl/~hanwen

Re: Conditional expressions

2003-02-24 Thread Dr A V Le Blanc
On Mon, Feb 24, 2003 at 04:52:49PM +0100, Mats Bengtsson wrote: > There are probably simpler methods to achieve what you want to do. > Take a look at the two collections of examples at the web page, > Go to lilypond.org, click on Documentation:Index and then on > "tips-and-tricks" and "Regression T

Re: Conditional expressions

2003-02-24 Thread Mats Bengtsson
There are probably simpler methods to achieve what you want to do. Take a look at the two collections of examples at the web page, Go to lilypond.org, click on Documentation:Index and then on "tips-and-tricks" and "Regression Tests" respectively. The Regression tests document contains an example on

Conditional expressions

2003-02-20 Thread Dr A V Le Blanc
Often I find I have two different versions of a .ly file, one for printed output and one for midi files. For example, I may want repeats to be expanded when I produce a midi file, but not in printed output. For this purpose, to avoid having to edit a lot of statements, I usually have near the top