lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: adding common guitar chords


From: David Kastrup
Subject: Re: adding common guitar chords
Date: Mon, 13 Feb 2017 12:21:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Klaus Blum <address@hidden> writes:

> Hi Julien, 
>
> Julien Cubizolles wrote
>> 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 ? 
>
> you can define your chord by assembling the six "real" pitches:
>
> % ------------------------------------------------------
> g_full = #(define-music-function (parser location) ()
>             #{
>               <g, d g b d' g'>
>             #})
>
> {
>   \new TabStaff {
>     \chordmode {
>       g1 \g_full g
>     }
>   }
> }
> % ------------------------------------------------------

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.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]