[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Generate staff-less chord and lyrics sheet
From: |
Kieren MacMillan |
Subject: |
Re: Generate staff-less chord and lyrics sheet |
Date: |
Thu, 6 Dec 2018 18:21:47 -0500 |
Hi Annette,
> I wonder if there is any command to generate a sheet with only chords
> and lyrics, no staves.
Here’s one attempt. You should be able to take it from here.
Hope this helps!
Kieren.
%%% SNIPPET BEGINS
\version "2.19.80"
theMelody = {
e'4 d' c' d'
e'4 4 4 4
d'4 4 e' d'
c'2. r4
}
theChords = \chordmode {
c2 f
c1
f2 g
c1
}
theWords = \lyricmode {
Mar4 -- y had a lit -- tle lamb,
Its fleece was white as snow.2
}
\score {
<<
\new ChordNames \theChords
\new Staff \new Voice = "melody" \theMelody
\new Lyrics \lyricsto "melody" \theWords
>>
\layout {
ragged-right = ##f
}
}
\score {
<<
\new Devnull \new NullVoice = "melody" \theMelody
\new ChordNames \theChords
\new Lyrics \lyricsto "melody" \theWords
>>
\layout {
ragged-right = ##f
\context {
\Staff
\omit StaffSymbol
\omit BarLine
\omit Clef
\omit TimeSignature
}
}
}
%%% SNIPPET ENDS
________________________________
Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden