lilypond-devel
[Top][All Lists]
Advanced

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

Feature request: Extremely short repeat syntax.


From: Heikki Johannes Junes
Subject: Feature request: Extremely short repeat syntax.
Date: Sat, 20 Sep 2003 16:06:13 +0300 (EEST)

I would like to make a suggestion that all notes, rests, drums, etc. are
typeset in lower case. In contrast, all reserved words would have at least
one Capitalized letter. Unfortunately, only multi-measure rests do not
follow the convention.

To solve this discrepancy, the following improvement would be needed to the
LilyPond syntax: The use of an integer, and a fraction would mean different
things:

'*2'    would mean that the syntax before is produced twice, and
'*2/1'  would mean that the associated duration would be corrected by
        multiplying with with the fraction 2/1.

After this redefinition multi-measure rests would be typeset as ordinary
rests. Instead of 'R1*2' one would just write 'r1*2', and instead of the
previous syntax 'r1*2' one should write 'r1*2/1'.

Interestingly, the use of `multiplication with an integer' could be
extended also to the use of repeats in the following manner:

A single note or a chord
  a1*2  would be extended to   (->) a1 a1
  <a b>1*2                      ->  <a b>1 <a b>1
and a series of notes (also postfixed) or other constructs
  {c4 d e f}*10                 ->  \repeat unfold 10 {c4 d e f}

The syntax `*10' could possibly get a (once?) directive 'tremolo' or
'fold'.

Greetings,

  Heikki Junes




reply via email to

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