[Top][All Lists]

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

First stab at merge-rests-on-positioning

From: Wilbert Berendsen
Subject: First stab at merge-rests-on-positioning
Date: Tue, 17 Aug 2010 20:53:40 +0200
User-agent: KMail/1.13.5 (Linux/2.6.32-24-generic; KDE/4.5.0; i686; ; )

Op dinsdag 17 augustus 2010 schreef Xavier:

> On Fri, Jun 11, 2010 at 3:27 PM, Xavier Scheuer <address@hidden> wrote:
>> Could you implement the possibility:
>>  \override RestCollision #'positioning-done =
>> #merge-rests-on-positioning described in
>> http://lsr.dsi.unimi.it/LSR/Item?id=336
>> _directly_ into LilyPond?
> Graham wrote: Patches will be reviewed.

This is my first stab at this. It just uses the code in LSR336 but provides a 
few convenience commands.

The major limitation is that multimeasure rests are not yet taken into 
account: they are simply moved to the central staff position, whether they 
occur in both voices or not.

AFAICT MultiMeasureRest objects do not take part in some collision. Is there a 
way to get the other one in the other voice in a staff? Then I could write a 
function to assign to the 'Y-offset property of the MMrest.

If the MMrests function well, this file could be added to the ly/ directory of 
lilypond, it could then be included if people want to use the functionality.

best regards,
Wilbert Berendsen

Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/
Nederlands LilyPond forum: http://www.lilypondforum.nl/

Attachment: merge-rests.ily
Description: Text Data

reply via email to

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