bug-lilypond
[Top][All Lists]
Advanced

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

Re: Incorrect bar numbers


From: Reinhold Kainhofer
Subject: Re: Incorrect bar numbers
Date: Tue, 25 Aug 2009 19:21:25 +0200
User-agent: KMail/1.11.4 (Linux/2.6.28-15-generic; KDE/4.2.4; i686; ; )

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Dienstag, 25. August 2009 19:05:00 schrieb Remco Poelstra:
> Op 25 aug 2009, om 18:57 heeft Reinhold Kainhofer het volgende
>
> geschreven:
> > R2.*2 |
> > bes,_"cresc." |  %<= this is the problematic measure 115
> >
> > You have a rest, which lasts 2 x 2., i.e. two whole measures. You
> > don't give a
> > new duration for the bes, so the bes, also lasts two whole measures
> > (it looks
> > like a dotted half, but is scaled to twice the duration).
> > Effectively, your code is the same as:
> >
> > R2.*2 |
> > bes,2.*2_"cresc." |
> >
> > Which is not what you want!
> > So, remember to add explicit durations after multi-measure rests!
>
> Ah, thanks a lot! I didn't know I could specify note lengths in that
> way. Why is the bes actually drawn the same as a normal 2. length note?

The bes2.*2 notation means duration scaling. It looks like a bes2. but 
it has twice that duration. See the notation reference:
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Writing-rhythms#Scaling-durations


> Thanks for the code snippet. I was already wondering how I could turn
> on numbering every measure, 

Again, this can be found in the documentation about bar numbers:
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Bars#Bar-numbers

> that Scheme inside lilypond really confuses me.

Simply copy the code from the snippets, you don't need to understand every 
detail!

Cheers,
Reinhold
- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFKlB2WTqjEwhXvPN0RAp+rAKC8Tg6l5Y9GjS0l+DiKNYGBDvhbxgCggqQZ
gOOBB1Xy1/kxXCWvnTEF7VU=
=lfbe
-----END PGP SIGNATURE-----




reply via email to

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