bug-lilypond
[Top][All Lists]
Advanced

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

Re: Feature request: multiplication should work on notes, chords and all


From: David Kastrup
Subject: Re: Feature request: multiplication should work on notes, chords and all rests
Date: Fri, 16 Dec 2011 07:38:05 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Pavel Roskin <address@hidden> writes:

> Quoting Xavier Scheuer <address@hidden>:
>
>> On 15 December 2011 22:58, Pavel Roskin <address@hidden> wrote:
>>> Hello!
>>>
>>> For some reason, multiplication only works on full-measure rests
>>> and silent rests.
>>>
>>> It would be nice to make it work on notes, chords and all kinds of
>>> rests.  For short repetitions, \repeat unfold is an overkill, which
>>> doesn't make the source shorter:
>>>
>>> […]
>>>
>>
>> There were already some (intense?) discussion about this.
>> See issue #1067, which is AFAICS the same request as yours.
>> http://code.google.com/p/lilypond/issues/detail?id=1067
>> Graham said he added it to the list of things to discuss in GLISS.
>
> Thanks!  I looked for possible existing issues but missed that one.
>
>> In case you did not know, there is already a "shortcut syntax" when
>> repeating the same chord: 'q'
>>
>>   <c e g>4 q q q
>
> That's really valuable!  I'm going to banish all short repeats in the
> score I'm working on!  Perhaps it should be mentioned in the
> documentation under "repeats".  I looked here and could not find it:
>
> http://lilypond.org/doc/v2.15/Documentation/notation/short-repeats

It does not work reliably with \relative, and the total community
interest to get this fixed amounts to an investment of €25 and no work.
<URL:http://code.google.com/p/lilypond/issues/detail?id=1110>

The effort for a reasonably comprehensive solution modeled after the
approach in the presented code sketch would be about 10 times that and
require only a moderate level of skills.  It is just boring and ugly
grindwork nobody can be interested in.

So you should be careful about relying on q in scores that pass music
through music variables or music functions before applying \relative.

-- 
David Kastrup




reply via email to

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