lilypond-user
[Top][All Lists]
Advanced

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

Re: how to add barre indications to automatic fret diagrams?


From: Thomas Morley
Subject: Re: how to add barre indications to automatic fret diagrams?
Date: Wed, 20 May 2015 01:58:07 +0200

2015-05-19 21:59 GMT+02:00 pls <address@hidden>:
>
> On 19.05.2015, at 21:47, Stephen MacNeil <address@hidden> wrote:
>
> you can check here see if that's what you want.
>
> http://lsr.di.unimi.it/LSR/Search?q=fret-diagram
>
>
> Thanks, but unfortunately these snippets are all about customizing
> predefined fret diagrams and not about adding barre indications to
> automatically generated fret diagrams.
>
> patrick
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>

Hi Patrick,

maybe this will get you started:

\version "2.19.15"

\new FretBoards {

  \override FretBoard.before-line-breaking =
  #(lambda (grob)
     ;(display (ly:grob-property grob 'dot-placement-list))
     (ly:grob-set-property! grob 'dot-placement-list
        (cons '(barre 6 1 1) (ly:grob-property grob 'dot-placement-list))))

  <f,-1 c-3 f-4 a-2 c'-1 f'-1>
}

HTH,
  Harm



reply via email to

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