[Top][All Lists]

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

Re: relative octaves with repeats

From: Paul Scott
Subject: Re: relative octaves with repeats
Date: Tue, 22 Mar 2005 17:08:08 -0700
User-agent: Debian Thunderbird 1.0 (X11/20050116)

Tim Mott wrote:


I just started using Lilypond, so I'm not sure if this is a feature or a bug.
I didn't see it mentioned in the documentation though.

The problem is as follows:  when using relative pitch, the first note of an
alternative repeat section gets its pitch from the end of the previous repeat,
rather than from end of the main section.

It's probably easier to explain with an example:

1.  leadMusic = \relative c {
2.      \repeat volta 2 {
3.              d8 f g a ~ a2 | r4 g f d | e8 g bf d ~ d2 | r4 c bf g | g8 f c' 
g ~ g2 }
4.      \alternative {
5.              { g8 f c' g ~ g2 | d'8 a c bf d, f a g | f fs a g f e ef c }
6.              { g8 f c' g ~ g f d'4 | bf1 }
7.      }
8.  }

The g at the start of line 6 should be the same note as the g at the end of 
line 3,
but instead jumps down an octave because of the c at the end of line 5.
Therefore, I must amend line 6 to

6.              { g8' f c' g ~ g f d'4 | bf1 }

which seems strange.
Musically strange but that's how it works. It's very linear: left to right, top to bottom. Each position gets any variable values from what comes before it.

Paul Scott

reply via email to

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