Re: adding common guitar chords

2017-02-15 Thread Julien Cubizolles
Federico Bruni  writes:


> 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
>  1
> }
>
> <<
>  \new ChordNames {
>\chordmode { g1 }
>  }
>  \new FretBoards {
>%\set FretBoards.minimumFret = #3
>\myChords
>  }
>  \new TabStaff {
>%\set TabStaff.minimumFret = #3
>\myChords
>  }

Thanks, for your suggestion. I had tried something similar but I need to
define new Chordname for each root note. I thought it could be
calculated by lilypond once the list of intervalls has been specified
along with the strings to play them with.

Julien.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: adding common guitar chords

2017-02-15 Thread Julien Cubizolles
David Kastrup  writes:


> We have the required information in predefined fretboards.  Maybe we
> should have a general function for substituting chords with the
> predefined shapes rather than only do that as part of fretboard display.

Yes, that would be nice :-)

Julien.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


adding common guitar chords

2017-02-13 Thread Julien Cubizolles
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,

Julien.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user