[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: missing half rest in pdf
From: |
Mats Bengtsson |
Subject: |
Re: missing half rest in pdf |
Date: |
Thu, 29 Nov 2007 06:39:07 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20061113 Debian/1.7.8-1sarge8 |
If you are refering to the rest just before the comment in your
code, it's certainly present inthe printed output, but probably
not on the beat you expect to find it. The problem is that your
first ending ends in the middle of a bar (a typo?) which triggers
the bug http://code.google.com/p/lilypond/issues/detail?id=355.
As you can see in the bug report and in recent versions of the
manual, the workaround is to add an appropriate \partial
directive.
When I tried this in your example, I noted that there seems to
be more rhythmical problems in your file. I strongly encourage
you to use bar checks to easily detect such problems.
/Mats
Jay Hamilton wrote:
The printout for this score in the 'volta' is missing the half rest which is in
the code and I don't see an example in the pdf manual that tells me what I am
doing to cause that.
\version "2.10.25"
\header {
title = "Desafinado for alto"
composer = "Antonio Carlos Jobim"
copyright = \markup { \tiny \override #'(baseline-skip . 0.5)
\center-align
{ "All rights reserved "
"see http://creativecommons.org/licenses/by-nd/2.5/"
} }
}
melody = \relative c' {
\clef treble
\key d \major
\time 2/2
#(set-global-staff-size 24)
\repeat volta 2 {
r8 a'4 b8 cis4 d cis4. b8 bes4 b d4. bes8 bes2 ~ bes1 r8 b4 cis8 d4 e
d4. cis8 c4 cis a'4. c,8 c2 ~ c1}
\alternative { { r8 b a'g fis e4 g8 ~ g4. fis8 c4 cis dis8 fis dis2 b4
c1 r8 f4 e8 d4 b f'4. e8 d4 b d4. bes8 bes2 ~ bes} {r8 a'4 g8 fis e4 g8 ~ g4. fis e4 d e8 d e2. ~ e2 r
%I have put the double brackets at the end of the line above which is where it should be but that didn't work either
cis4 dis cis8 dis4 cis8 ~ cis4 b bes b cis1 ~ cis2 r4 bes} }
des4 es des8 es4 des8 ~ des4 b bes b des4. aes8 des2 ~ des1 r des4 es8 f4 ges
aes4 ges bes, b des8 es des es des2 ~ des r4 des e fis e fis e d cis d e b8 e ~ e b e4 ~
e4 r r8 b e fis g4 fis g fis a g fis g e1 ~ e4 r2. r8 a,4 b8 cis4 d
cis4. b8 bes4 b d4. bes8 bes2 ~ bes1 r8 b4 cis8 d4 e d4. cis8 c4 cis b' bes a gis
g b r fis a gis g fis g fis e d fis2. cis4 e2. b8 cis d d d d d4 d r8 b4 cis8 d4 d
d8 d d d a'4 g ~ g2. b,8 cis d d d d d4 cis8 d ~ d4 r8 cis c4 cis e4. d8 d2 ~ d2. r4
\bar "|."
}
\score {
\new Staff \melody
\layout { }
\midi { }
}
Yours-
Jay
Jay Hamilton
www.soundand.com
206-328-7694
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================