lilypond-user
[Top][All Lists]
Advanced

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

Re: Merging rests


From: Wilbert Berendsen
Subject: Re: Merging rests
Date: Mon, 13 Sep 2010 13:39:28 +0200
User-agent: KMail/1.13.5 (Linux/2.6.32-24-generic; KDE/4.5.0; i686; ; )

Op maandag 13 september 2010 schreef bart:

> I have found a way to merge rests when there are two voices on one stave,
> but which evolve as one voice, to limit clutter on the score on this page :
> http://lsr.dsi.unimi.it/LSR/Item?id=336 .
> 
> It is very usefull indeed, but isn't there a more general way to merge
> rests. It's a lot of code for a task, that I think is often needed. This
> code is limited to two voices, but I already have a score laying around
> here with three voices. I know about hiding rests, but then I'll have to
> change the position of the remaining rests to the center of the staff,
> like the example of the snippet shows. I'm quite a beginner, so I think
> that's pretty advanced stuff already.
> 
> Any ideas for an alternative to the snippet?

Yes, I created an alternative that also merges multimeasure rests. It is at
http://code.google.com/p/lilypond/issues/detail?id=1228
and an updated version at
http://code.google.com/p/lilymusic/source/browse/trunk/include/merge-rests.ily

This include file could be added to LilyPond. It still has the limitation that 
it only supports two voices.

best regards,
Wilbert Berendsen

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



reply via email to

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