Il giorno dom 12 feb 2017 alle 22:16, Julien Cubizolles
<j.cubizol...@free.fr> ha scritto:
Hello list, I'm very new to lilypond so please forgive me if what I'm
asking is obvious but I needed to type some chords commonly used on a
guitar: for instance a g major chord using all 6 chords would be
played with fingers at frets 355433 (from the bass). In chord mode, I
could only achieve it with the following --8<---------------cut
here---------------start------------->8--- \chordmode {\set
TabStaff.minimumFret = #2 \set TabStaff.restrainOpenStrings = ##t
g,,4:16.8.10.12.15^3.7.9.11.13} --8<---------------cut
here---------------end--------------->8--- That's a lot to type for
something so common. Is there a way to define such a chord and name
it (with the "full" suffix for example) so that in chordmode one
could use g:full, c:full and so on ? Maybe there is already a snippet
for it but I couldn't find it so far. Thanks for your help,
Hi Julien
This is another (simpler) way. I've commented with % what is not needed:
\version "2.19.54"
%\include "predefined-guitar-fretboards.ly"
myChords = \relative {
\set minimumFret = #3
<g, d' g b d g>1
}
<<
\new ChordNames {
\chordmode { g1 }
}
\new FretBoards {
%\set FretBoards.minimumFret = #3
\myChords
}
\new TabStaff {
%\set TabStaff.minimumFret = #3
\myChords
}
>>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user