lilypond-user
[Top][All Lists]
Advanced

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

Re: Template for 4 total elements


From: Carl Sorensen
Subject: Re: Template for 4 total elements
Date: Mon, 2 Jun 2008 17:38:50 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

plasmacarwash <creamtowney <at> yahoo.com> writes:

> 
> 
> Dear Madames/Sirs,
> 
> I was wondering if anyone has already made a template for simple
> contemporary scorebooks consisiting of:
> 
> 1. The Vocal melody line.
> 2. The Lyrics
> 3. Notation chords for guitar and
> 4. Fretboard images
> 

I'm responding to a personal email you sent me, so that the answer stays on the
list.

Here's a template that provides everything you asked for.  It's how I do my lead
sheets.  It's based off of the Score Wizard from LilyPondTools, so thank Bert
for his excellent work.

Valentin/Neil -- Perhaps this could be added to the LSR?  I think it will work
with version 10.

Carl



%%%%%%%%%%%%%%% Begin Template %%%%%%%%%%%%%%%%%%%
% Created on Mon Jun 02 10:33:03 MDT 2008
\version "2.11.45"

\header {
  title = "Lead Sheet Test"
  subtitle = "Melody, Lyrics, Fret Diagrams, Chord Names"
}

% here I define the fret diagrams to be used
cFretDiagram = \markup {
  \fret-diagram #"5-3-3;4-2-2;3-o;2-1-1;1-o"
}

gFretDiagram = \markup {
  \fret-diagram #"6-3-2;5-2-1;4-o;3-o;2-o;1-3-3"
}

verseI= \lyricmode {
  \set stanza = "1."    
  This is the first verse
}
 
verseII= \lyricmode {
  \set stanza = "2."    
  This is the second verse.
}

theChords = \new ChordNames {
  \chordmode {
    % insert the chords for chordnames here
    c2 g4 c
  }
}

staffMelody = \new Staff  {
  \context Voice = "voiceMelody" {
    \key c \major
    \clef treble
    \relative c' { 
      % Type notes and fret diagram markups here 
      c4^\cFretDiagram d8 e f4^\gFretDiagram g^\cFretDiagram
      \bar "|."
    }
  }
}


\score {
  <<
    \theChords
    \staffMelody
    \context Lyrics = "lyricsI" \lyricmode  {
       \lyricsto "voiceMelody" \verseI 
    }
    \context Lyrics = "lyricsII" \lyricmode  {
       \lyricsto "voiceMelody" \verseII 
    }
                
  >>
        
  \midi {
  }

  \layout {
  }
}

\paper {
}


%%%%%%  End of Template %%%%%%%%%%%%%%%


Hope this helps.

Carl





reply via email to

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