On Mon Dec 22 2014 at 1:12:12 PM Thomas Morley <
address@hidden> wrote:
2014-12-22 19:08 GMT+01:00 Thomas Morley <address@hidden>:
> 2014-12-22 15:48 GMT+01:00 Rob Torop <address@hidden>:
>> I'm trying to create something like this:
>>
>> Chord names (not grids) above the first staff
>> One normal staff
>> One guitar tab staff underneath it (same melody as in staff above)
>> Lyrics underneath the guitar tab
>> Chord grids printed just once at bottom
>>
>> I would also like to define my own chord voicings with custom names - that
>> is, I don't want to give an alternative voicing for E, but instead make up a
>> new name like EBlah, and have EBlah appear in the chart and in the chord
>> grid. I might have multiple voicings that are all really E so it doesn't
>> work to just re-use E.
>>
>> I can find bits and pieces of this, but I can't make anything really work.
>> Here's one this I tried:
>>
>> \version "2.18.2"
>>
>> \include "predefined-guitar-fretboards.ly"
>>
>>
>> chordNames = \chordmode { c1:m7 ees1:maj7 }
>>
>> melody = \relative c' { c2 f4 bes,4 ees aes, des ges, }
>>
>> verse = \lyricmode { I met a fair young maiden }
>>
>>
>> \score {
>>
>> <<
>>
>> \new ChordNames \chordNames
>>
>> \new FretBoards \chordNames
>>
>> \new Staff \melody
>>
>> \addlyrics \verse
>>
>> \new TabStaff \melody
>>
>> >>
>>
>> }
>
>
Like the following?
(misclicked, continuing)
\version "2.18.0"
\include "predefined-guitar-fretboards.ly"
\storePredefinedDiagram #default-fret-table \chordmode { ees':maj7 }
#guitar-tuning
% using a list like for 'fret-diagram-verbose'
#'((mute 6)
(mute 5)
(place-fret 4 13)
(place-fret 3 12)
(place-fret 2 11)
(place-fret 1 10)
)
chordNames = \chordmode {
c1:m7
ees1:maj7
%% maybe uncomment:
% \once \omit ChordName
ees':maj7
}
melody = \relative c' { c2 f4 bes,4 ees aes, des ges, ees'1 }
verse = \lyricmode { I met a fair young mai -- den. ":)" }
\score {
<<
\new ChordNames \chordNames
\new Staff \new Voice = "m" \melody
\new TabStaff \melody
\new Lyrics \lyricsto "m" \verse
\new FretBoards \chordNames
>>
}
HTH,
Harm