[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: comments on CVS from 2002-07-14 15:58 (long)
From: |
Mats Bengtsson |
Subject: |
Re: comments on CVS from 2002-07-14 15:58 (long) |
Date: |
Thu, 25 Jul 2002 16:13:56 +0200 |
Take a look at input/test/music-box.ly. Also, Arnold has made
a simple preprocessing tool that easily handles these things.
/Mats
> Apropos abbreviations: I have two requests which could save a lot of
> time for typing:
>
> . A special construction which returns the same notes in a chord as
> before, but with a different rhythm, e.g.
>
> <a4 c e> 4*<8>
>
> [What's the right syntax for 6*<a c e>, giving 6 times <a c e>?
> Or isn't this possible at all?]
>
> . I want simple macros with arguments, e.g.
>
> boring = <$1> 4*<8>
>
> \boring{a4 c e}
> \boring{a c f}
>
> It might be a good idea to enter rhythm and pitches of a chord
> separately with a new syntax, say, <pitches,rhythm>:
>
> boring = <$1,$2> 4*<$2*2>
> ^
> real multiplication
>
> \boring{a c e}{4}
>
> => <a4 c e> <a8 c e> <a8 c e> <a8 c e> <a8 c e>
>
> Probably all of this is already possible with Scheme, but this is
> sometimes very complicated.
comments on CVS from 2002-07-14 15:58 (long), Han-Wen Nienhuys, 2002/07/15
comments on CVS from 2002-07-14 15:58 (long), Han-Wen Nienhuys, 2002/07/15
Re: comments on CVS from 2002-07-14 15:58 (long), Werner LEMBERG, 2002/07/16