lilypond-user
[Top][All Lists]
Advanced

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

MultiMeasureRest for times > 4/2 (should be whole, not breve!)


From: Dmytro O. Redchuk
Subject: MultiMeasureRest for times > 4/2 (should be whole, not breve!)
Date: Wed, 23 Jun 2010 14:57:44 +0300
User-agent: Mutt/1.5.20 (2009-06-14)

Hi.

This is related to issues 1014 and 1145[1], was also discussed a couple of
times[2].

The point is that MultiMeasureRests should be whole rests for measures longer
than 4/2.

Now i am quite happy with a solution in attached file. I believe, sharing this
solution (not ideal, i guess) may be helpful. Of course, i will thank for any
help and/or suggestions.

It uses an idea which i've found in Alexander Kobel's (thanks!) snippet,
#651[3] --- let MultiMeasureRest be invisible and MultiMeasureRestNumber shows
something else than numbers (yes, i never use MultiMeasureRestNumbers, and
those --- mainly unmetered --- scores, which contain whole measure rests, are
much better with whole than breve rests).

MultiMeasureRestNumbers are placed where MultiMeasureRests (transparent) are,
glyph is "calculated" (depending on time signature for current measure and
MultiMeasureRest's 'staff-position). Breve rests may be drawn as whole, too.

So, i use this as a workaround for issues 1014 and 1145[1] (completely
"transparent" workaround --- voices should not be changed, i simply need
to add something[4] to \layout block).


If this attempt can be improved --- i'll be glad to get any feedback.

I am not a programmer, some things can be "strange" .)

Thank you.

_________________
 1. http://code.google.com/p/lilypond/issues/detail?id=1014
    http://code.google.com/p/lilypond/issues/detail?id=1145
 2. http://lists.gnu.org/archive/html/lilypond-user/2008-12/msg00004.html
    http://www.mail-archive.com/address@hidden/msg18832.html
 3. http://lsr.dsi.unimi.it/LSR/Item?id=651
 4. This is not a problem for my scores, since all my templates already have
    \include "layout-<context_name>-setup.lyi" in every \context block
    of \layout block.

-- 
  Dmytro O. Redchuk
  Bug Squad

Attachment: normalizeMMRs.ly
Description: Text document


reply via email to

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