lilypond-user
[Top][All Lists]
Advanced

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

Re: beginner problems


From: Robert T Wyatt
Subject: Re: beginner problems
Date: Thu, 05 May 2005 07:30:17 -0500
User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)

Thank you Mats! This worked perfectly. --rtw

Now a follow-up question, the answer to which will probably get me through the remainder of this straightforward piece:

This works just fine (yes, there are more chords than music so far, but that will change):

<<
\chords {
d1:m | bes1 | a1:7 | d2:m g4 a4:7 |
d1:m | bes1 | a1:7 | d1:m |
c1 | f1 | cis:dim | d4:m a4 d2:m |
bes1 | d1:m | gis1:dim | g4 d4:m a2:7 |
d1:m | bes1 | a1:7 | d1:m |
}
\relative d'' { \time 4/4 \key d \minor
d8. a16~ a8 f16 d16~ d16 d16 f16 a16 d16 c16 b16 a16 |
bes8. f16~ f8 d16 bes16~ bes16 bes16 d16 f16 bes16 a16 g16 f16 |
g8. e16~ e8 cis16 a16~ a16 a16 cis16 e16 a16 g16 f16 e16|
d16 cis16 d16 e16 f16 e16 f16 g16 a16 g16 a16 b16 cis16 a16 b16 cis16 |

d8. a16~ a8 f16 d16~ d16 d16 f16 a16 d16 c16 b16 a16 |
bes8. f16~ f8 d16 bes16~ bes16 bes16 d16 f16 bes16 a16 g16 f16 |
g8. e16~ e8 cis16 a16~ a16 a16 cis16 e16 a16 g16 f16 e16|
d2. des4 |
}
>>

however I can't put a simple chord in the eighth bar in this manner (how would I accomplish this?):

<<
\chords {
d1:m | bes1 | a1:7 | d2:m g4 a4:7 |
d1:m | bes1 | a1:7 | d1:m |
c1 | f1 | cis:dim | d4:m a4 d2:m |
bes1 | d1:m | gis1:dim | g4 d4:m a2:7 |
d1:m | bes1 | a1:7 | d1:m |
}
\relative d'' { \time 4/4 \key d \minor
d8. a16~ a8 f16 d16~ d16 d16 f16 a16 d16 c16 b16 a16 |
bes8. f16~ f8 d16 bes16~ bes16 bes16 d16 f16 bes16 a16 g16 f16 |
g8. e16~ e8 cis16 a16~ a16 a16 cis16 e16 a16 g16 f16 e16|
d16 cis16 d16 e16 f16 e16 f16 g16 a16 g16 a16 b16 cis16 a16 b16 cis16 |

d8. a16~ a8 f16 d16~ d16 d16 f16 a16 d16 c16 b16 a16 |
bes8. f16~ f8 d16 bes16~ bes16 bes16 d16 f16 bes16 a16 g16 f16 |
g8. e16~ e8 cis16 a16~ a16 a16 cis16 e16 a16 g16 f16 e16|
<a2. d2.> des4 |
}
>>

[yields: template2.ly:36:2: error: parse error, expecting `DRUM_PITCH' or `NOTENAME_PITCH' or `'>'':]

Thanks so much,
Robert


Mats Bengtsson wrote:
Since it's possible to have different key signatures on different
staves in a score (for example if you have transposing instruments),
you have to specify the key signature in every Staff context.
You want one line of chords and one staff with key signature and
music, so just include the key signature together with the music:

<<
\chords { d1:m | bes1 | a1:7 | d2:m g4 a4:7 | }

\relative d'' {
\time 4/4 \key d \minor
d8. a16~ a8 f16 d16~ d16 d16 f16 a16 d16 c16 b16 a16 |
bes8. f16~ f8 d16 bes16~ bes16 bes16 d16 f16 bes16 a16 g16 f16 |
g8. e16~ e8 cis16 a16~ a16 a16 cis16 e16 a16 g16 f16 e16|
d16 cis16 d16 e16 f16 e16 f16 g16 a16 g16 a16 b16 cis16 a16 b16 cis16 |
}
 >>

   /Mats
Robert T Wyatt wrote:

Robert T Wyatt wrote:

Hi all,
 A couple of easy beginner questions for you:
I'm using 2.4.5 on MacOS 10.3.9. Why is there a second staff? Why does my bar check on my chords fail?
 <<
\key f \major \time 4/4
\chords { d:m | }
\relative { d'8. a16~ a8 f16 d16~ d16 d16 f16 a16 d16 c16 b16 a16 | }
 >>
 Thanks very much,
 Robert

Okay, I figured out the chord bar checks, but I still don't understand the extra staff and the fact that the key signature is not working as I wish:

<<
\chords { d1:m | bes1 | a1:7 | d2:m g4 a4:7 | }

\time 4/4 \key d \minor \relative d'' {
d8. a16~ a8 f16 d16~ d16 d16 f16 a16 d16 c16 b16 a16 |
bes8. f16~ f8 d16 bes16~ bes16 bes16 d16 f16 bes16 a16 g16 f16 |
g8. e16~ e8 cis16 a16~ a16 a16 cis16 e16 a16 g16 f16 e16|
d16 cis16 d16 e16 f16 e16 f16 g16 a16 g16 a16 b16 cis16 a16 b16 cis16 |
}
 >>





reply via email to

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