lilypond-user
[Top][All Lists]
Advanced

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

Re: finger-code with powerchords


From: Patrick L. Schmidt
Subject: Re: finger-code with powerchords
Date: Fri, 12 Feb 2016 19:29:05 +0100



On 12.02.2016, at 18:37, Francis Perea <address@hidden> wrote:

Hi all, I continue learning Lilypond and very impressed with its capabilities.

This time I'm learning to use fretboards and chords for my guitar lessons.

There is one thing I'm unable to do and I'd like to know if it is possible.

With this code I get the finger-code inside dots

\version "2.19.33"
\include "predefined-guitar-fretboards.ly"

\new FretBoards {
 \override FretBoard.fret-diagram-details.finger-code = #'in-dot
 \chordmode {
   a
 }
}

But if I use powerchords instead of normal chords the finger-code dissappears:

\version "2.19.33"
\include "predefined-guitar-fretboards.ly"

\new FretBoards {
 \override FretBoard.fret-diagram-details.finger-code = #'in-dot
 \chordmode {
   \powerChords a,,:1.5.8
 }
}

Does any one know if there is a way to show finger code while using powerChords?

Thanks a lot in advance

Power chords are not defined in predefined-guitar-fretboards.ly

You can either define them yourself (see http://www.lilypond.org/doc/v2.18/Documentation/notation/common-notation-for-fretted-strings#fret-diagram-markups) or you could use the predefined fretboards of this repository: https://github.com/Philomelos/lilypond-predefined-fretboards/tree/master/EADGBE.  This repository contains several thousand predefined fret diagrams (not only power chords).  Just download the EADGBE folder, include the files and use it the following way:

\version "2.19.33"
\include “/path/to/downloaded/files/c-shape.ly
\include “/path/to/downloaded/files/a-shape.ly
\include “/path/to/downloaded/files/g-shape.ly
\include “/path/to/downloaded/files/e-shape.ly
\include “/path/to/downloaded/files/d-shape.ly"

\new FretBoards {
 \override FretBoard.fret-diagram-details.finger-code = #'in-dot
 \chordmode {
   \powerChords 
   \aShape
   a,,:1.5.8
  \eShape
  a,,:1.5.8
 }
}

HTH!
Patrick


reply via email to

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