lilypond-user
[Top][All Lists]
Advanced

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

Re: missing bars


From: Kieren MacMillan
Subject: Re: missing bars
Date: Fri, 8 Mar 2013 10:28:55 -0500

Hi Katie,

> That does help.  Thank you.  But now I can't seem to get music to show up 
> when I compile it.

Are you sure you used bar checks, as I suggested?
When I try it (see snippet, below), it clearly shows where your data entry 
errors are.

Kieren.

p.s. You should also be using full measure rests (R1) instead of whole note 
rests (r1).
_______________________________

\paper {
        left-margin = .75\in
        right-margin = .75\in
}
}
\header{
title = "Happily Ever After"
}

melody = \relative c' {
  \clef treble
  \key g \major
  \time 12/8
  b8 c8 d8 d8 e8 d8 e4 g8 ~ g8 f8 d8   |
  b8 c8 d8 d8 e8 d8 bes4 a8 ~ a8 gis8 a8   |
  b8 c8 d8 d8 e8 d8 g8 d8 f8 e8 c8 e8   |
  d1.   |
  g8 g8 g8 g8 fis8 g8 bes4 a8 ~ a4 g8   |
  d8 d8 d8 d8 cis8 d8 g4 f8 ~ f8 g8 f8  |
  e4 e8 r4. r8 r8 f8 ~ f4 d8   |
  e4. r4. r4. r8 dis8 e8   |
  f8 g8 f8 f8 e8 f8 a4. ~ a8 f8 e8   |
  d8 cis8 d8 g8 fis8 g8 g8 fis8 g8 bes8 g8 f8   |
  g2. r2.   |
  r2. r8 r8 bes8 a8 g8 f8   |
  \key c \major
  e8 c8 e8 f8 d8 f8 g8 e8 g8 f8 r8 dis8   |
  e4 c8 r4. r8 r8 a8 b8 c8 d8   |
  e8 c8 e8 f8 d8 f8 g8 e8 g8 f8 d8 f8   |
  a2. r4 a8 g8 a8 g8   |
  b8 g8 b8 g4 a8 r4. r8 r8 g8   |
  bes8 g8 bes8 g4 a8 r4. r4.   |
  r4 d,8 e8 g8 a8 r4 bes8( ~ bes8 a8) g8   |
  g1.   |
  r4. bes8. a8. ~ a2.
  r1
}


text = \lyricmode {
Win i fred maid of the My re has but 
one sin gle hu man de si re Oh I 
ask for no more than two shoes on the floor next to 
mine
Some one to fly and to float with To
swim in the marsh and the moat with As for 
this one he'd be 
fine And I'm 
burn ing to bring it a bout If I
don't I'll be stuck with good bye and good luck and get
out
I want to get
in to some hap pi ly hap pi ly ev er
af ter I want to walk
hap pi ly out of the chap el e tern nal ly 
tied and then I'll be
hap pi ly hap py yes
hap pi ly hap py
and thour ough ly sat is
fied 
oh yeah!
}

upper = \relative c' {
  \clef treble
  \key g \major
  \time 12/8
  \set Staff.timeSignatureFraction = 4/4
  \scaleDurations 3/2 {
    <g b>4 (<e bes' d>8) r8 \grace dis'8 (<a e'>8) (<c g>8) \times 2/3 {r8 <c f 
bes>8 r8}   |
    <g b>4 (<e bes' d>8) r8 <fis bes>8 (<e a>4.)   |
    <f b>4 (<g c>4 <a d>4 <g c>4)   |
    \times 2/3 {r8 <g' d'> <bes d>}   |
    << { \times 2/3 { d4 d8 } } \\ { \times 2/3 { a16 bes16 a16 g8 e8 } } >>   |
    <g d>8 <bes d>8 ~<bes d>8 <a d>8   |
    <bes, d ees g>4 <bes d ees g>4 <d es g>4 <d ees g>4   |
    <f, a d>4 <f a d>4 <bes d g>4 <bes d f>4   |
    <d e g' bes d e>8 <d e g bes d e>8 r4 r8 <gis, b f>4 <f gis d>8   |
  }
}

lower = \relative c {
  \clef bass
  \key g \major
  \time 12/8
  \set Staff.timeSignatureFraction = 4/4
  \scaleDurations 3/2 {
    g1   |
    R1   |
    R1   |
    R1   |
    R1   |
    R1   |
  }
}

\score {
<<
  \new Voice = "mel" { \autoBeamOff \melody }
  \new Lyrics \lyricsto mel \text
  \new PianoStaff <<
    \new Staff = "upper" \upper

    \new Staff = "lower" \lower
>> >>

\layout {
  \context { \Staff \RemoveEmptyStaves }
}
}


reply via email to

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