\version "2.10.33" #(ly:set-option (quote no-point-and-click)) \header{ title = "Your Song" poet = "T: " composer = "M: " % instrument = "2 voc + git" source = "" maintainer = "Henning Hraban Ramm" maintainerWeb = "http://angerweit.tikon.ch/lieder/" lastupdated = "2008-09-13" tagline = "" copyright = "" } global = { \clef treble \key a \minor \time 4/4 } guitarChords = \chordmode { % put your guitar chords here % use the same repeats as in the voices! } dynamics = \relative c { % use this to influence MIDI dynamics r1\mp } % if you use \voiceOne and \voiceTwo, % you can print two voices on one staff upperVoice = \relative c'' { %\voiceOne \repeat volta 2 { } \alternative { { } { } } } lowerVoice = \relative c' { %\voiceTwo \repeat volta 2 { } \alternative { { } { } } } text = \lyricmode { %\set stanza = "1. " % You know how to write ly -- rics, don’t you? } % Paper Output \score { << \context ChordNames { % \germanChords \set chordChanges = ##t \guitarChords } \context Staff = Upper << \global \context Voice = "one" \upperVoice %\context Voice = "two" \lowerVoice >> \lyricsto "one" \new Lyrics { \text } % comment this if you need only one voice: \context Staff = Lower << \global %\context Voice = "one" \upperVoice \context Voice = "two" \lowerVoice >> >> \layout { indent = 0\cm } } % more verses: \markup{} \markup { \fill-line { \hspace #0.1 % distance from left margin \column { \line { "1." \column { "" "" } } \hspace #0.2 % vertical distance between verses \line { "2." \column { "" "" } } } \hspace #0.1 % horiz. distance between columns \column { \line { "3." \column { "" "" } } \hspace #0.2 % distance between verses \line { "4." \column { "" "" } } } \hspace #0.1 % distance to right margin } } % MIDI Output \score { \unfoldRepeats { % otherwise you don't get repeats in the MIDI << \context Staff = chords << \set Staff.midiInstrument = "fx 4 (atmosphere)" \context Voice = chords { << \dynamics \guitarChords >> } >> \context Staff = Upper << \set Staff.midiInstrument = "violin" \context Voice = Upper \upperVoice >> \context Staff = Lower << \set Staff.midiInstrument = "viola" \context Voice = Lower \lowerVoice >> >> } \midi{ \context { \Score tempoWholesPerMinute = #(ly:make-moment 120 4) } } }