\version "2.20.0"

\sourcefilename "en/included/display-predefined-fretboards.ly"
\sourcefileline 0
\include "predefined-guitar-fretboards.ly"


\paper {
  #(set-paper-size "a4") %paper-height = 14.85\cm
  line-width = 15.0\cm indent = #0
}

verseI = \lyricmode {
  Cel -- ia, you're brea -- king my heart, You're sha -- king my con -- fi -- dence dai -- ly. Oh, Ce -- cil -- ia, I'm down on my knees, I'm beg -- ging you please to come home. " " Ho -- ho -- home. Mak -- ing love in the af -- ter -- noon with Ce -- ci -- lia, up in my bed -- room. I got up to wash my face. When I come back to bed, some -- one's tak -- en my place. " " Come on home. Poh poh poh poh " " poh poh poh poh poh poh poh poh poh. Ju -- bi -- la -- tion, she loves me a -- gain. I fall on the floor and I laugh -- ing. Ju -- bi " " ing. Oh oh oh oh oh oh oh oh oh oh oh oh oh oh oh oh oh oh oh oh " " oh. Come on home.
}



melody = \chordmode {
  d1 g2 d g d     a1 g2 d g d g d    a1 \set chordChanges = ##f a \set chordChanges = ##t d d g d2 g4. d8   a2 d   d1     g d a2 d    a1 d d g a g2 d g d g d    a1  \set chordChanges = ##f a \set chordChanges = ##t   g2 d g d g d   \set chordChanges = ##f a1 a \set chordChanges = ##t  d1
}

theFretBoards = \chordmode {
  \override FretBoards.FretBoard #'size = #'0.95
  \override FretBoard #'(fret-diagram-details finger-code) = #'none
  \set chordChanges = ##t      
  \melody
}

theChords = \chordmode {
  \set chordChanges = ##t
  \germanChords \melody
}

staffMelody = \relative c' {
  \key d \major
  \clef "treble"
  \time 4/4
  \repeat volta 3 { fis2 d4 r8 fis8   g fis e fis( fis4) r8 fis8   g fis e fis( fis) e d e( e) cis16( b a2) fis'8 a   b2 a4 r8 fis   g fis e fis( fis4) r8 fis   g fis e fis( fis) e d cis( } \alternative { { cis2) r2 } { cis2 r8 a8 b d( d2) r2    r8 d e fis( fis) d d g( g) fis4 e8( e) d e fis( fis e) d4  g8 fis4 e8( e) cis4  d8( d4) r4   r8 d e fis( fis)   d4 g8( g) fis4 e r8 d e     fis g fis fis( fis) e d e( e) fis e d( d2) }    { cis2 r8 a b d( } } d2) r4 e8 fis    g4 fis8 e d4 e8 fis     g4 fis e8 d4 e8( e) cis16( b a2) fis'8 a \repeat volta 2 { b2 a4 r8 fis    g fis e fis( fis4) r8 fis    g fis e fis( fis) e d e( } \alternative { { e8) cis16( b a2) fis'8 a } { e8 cis16( b a2) g'8 a( } } \repeat volta 2 { a8) b4. \grace { a8 b } a4 r8 a   b a g a( a4) r8 a   b a g a( a) g fis a( } \alternative { { a) a,8( a2) g'8 a } { a8 a,( a4) r8 a b d( } } d2.) r4
}

\book {
  \header {
    tagline = ##f %print foot with version
    dedication = "trampská, folk, country"
    title = \markup \center-column { "Cecilia" }
    subtitle = "1969"
    poet = \markup { "Paul Simon" }
    meter = \markup { \tiny \italic "Moderato" }
    composer = "(Doprovod: 4)"
  }

  \score {
    <<
      \override Score.SystemStartBar #'collapse-height = #1
      \context ChordNames { \theChords }
      \context FretBoards { \theFretBoards }
      \new Staff {
        \context Voice = "voiceMelody" { \staffMelody }
      }
      \new Lyrics = "lyricsI" {
        \lyricsto "voiceMelody" \verseI
      }

    >>
  }

}