lilypond-user
[Top][All Lists]
Advanced

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

Re: guitar inlays / labels


From: Hugh Myers
Subject: Re: guitar inlays / labels
Date: Fri, 23 Nov 2012 03:18:30 -0700

It has been practically forever since I did any serious LP work, but just looking at you code, the ability to draw the 'dot' with the 'A' implies the possibility of what you want IF you can a. control the vertical location of the dot and cause it to be filled in as black. Given that, then your only remaining concern would be the ability of overlaying an inlay with needed dot notation as you have shown. Trivial in postscript less so here. It is as my fellow programmers would say 'just another SMOP' Small Matter Of Programming :) Luck...

--hsm


On Fri, Nov 23, 2012 at 3:04 AM, Curt <address@hidden> wrote:
Hi, I'm thinking of generating guitar fret diagrams to drill note names for beginning guitar, and I've gotten this far:

Can anyone think of a way to put the fretboard inlay markers in there?  Either on the diagram, or as labels above or below the fret diagram in the right fret location?  dots on 3rd, 5th, 7th, 9th, double on the 12th.

(lilypond code below)

\version "2.16.00"
\include "english.ly"

\paper{
  indent=0\mm
  line-width=120\mm
  oddFooterMarkup=##f
  oddHeaderMarkup=##f
  bookTitleMarkup = ##f
  scoreTitleMarkup = ##f
}

\score {
<<
  \new Staff \with {    
    \clef treble
    \remove Time_signature_engraver
    } 
    \transpose c c \relative fs' {  
        \override TextScript #'size = #'3.0

                                                                                                                                                                                  

a^\markup {
      \override #'(fret-diagram-details . (
                   (finger-code . in-dot)
                   (dot-label-font-mag . 0.6)                   
                   (orientation . landscape)
                   (xo-font-magnification . 0.4)
                   (fret-count . 12)                   
                   (xo-padding . 0.3))) {
\fret-diagram-verbose
  #'( (place-fret 2 10 "A" inverted) )

     

     }
}
    }  
>>

    \layout {
\context {
\Staff
      \remove Bar_engraver
    }
    }
\midi {
\context {
\Score \with
\settingsFrom { \tempo 4=180 }
    }
}
}

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



reply via email to

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