[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I'm stumped - code check plz
From: |
chip |
Subject: |
Re: I'm stumped - code check plz |
Date: |
Sat, 03 Jan 2004 12:22:39 -0800 |
User-agent: |
Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031226 |
David Raleigh Arnold wrote:
\property Score.skipBars = ##t R1*3
r4 r8 g''2. <---- you have 4 1/2 beats here
\property Score.skipBars = ##t R1*3
e''8. e''16 e''8 e''16 e''16 e''4 r4
Thanks for the replies guys. This is curious - the offending measure is
written
r4 r8 g''2.
which works out to 4 beats exactly. If I remove the . the music runs
through lily fine but the printed measure is obviously 1/8 too short -
it is a
1/4 rest 1/8 rest half note
I can change it to this
r4 r4 g''2
and the results are correct, but I want the g'' on the upbeat of 2, not
the downbeat of 3, no matter what I do to do this it fails
I am obviously missing something.
--
Chip
-----
Working code snippet (but not exactly what I want it to do) -
-----
four = \notes {
\property Score.skipBars = ##t R1*2
r4 r8 g''8 g''4 r8 a'8
e''4 cis''4 b'4 r8 a'8 ~
a'2 r2
R1
r4 bes'4 \times 2/3 { bes' bes' bes'}
r4 bes'4 \times 2/3 { bes' bes' bes'}
\property Score.skipBars = ##t R1*3
r4 r4 g''2
\property Score.skipBars = ##t R1*3
e''8. e''16 e''8 e''16 e''16 e''4 r4
d''4 r4 r4 d''4
r4 r8 bes'8 d''4 cis''4
c''4 r4 r4 c''4
r4 r8 g'8 c''4 b'4
bes'4 r4 r4 bes'4
r2 r4 bes'8 bes'8
\times 2/3 { a'4 bes'4 a'4}
\times 2/3 { bes'4 a'4 bes'4}
}
-----
Not working code snippet -
-----
four = \notes {
R1
R1
r4 r8 g''8 g''4 r8 a'8
e''4 cis''4 b'4 r8 a'8 ~
a'2 r2
R1
r4 bes'4 \times 2/3 { bes' bes' bes'}
r4 bes'4 \times 2/3 { bes' bes' bes'}
\property Score.skipBars = ##t R1*3
r4 r8 g''2.
\property Score.skipBars = ##t R1*3
e''8. e''16 e''8 e''16 e''16 e''4 r4
d''4 r4 r4 d''4
r4 r8 bes'8 d''4 cis''4
c''4 r4 r4 c''4
r4 r8 g'8 c''4 b'4
bes'4 r4 r4 bes'4
r2. bes'8 bes'8
\times 2/3 { a'4 bes'4 a'4}
\times 2/3 { bes'4 a'4 bes'4}
}