]> git.donarmstrong.com Git - lilypond.git/commitdiff
Add doc strings to predefined fretboards function, update manual on TabStaff
authorCarl Sorensen <c_sorensen@byu.edu>
Fri, 7 Nov 2008 23:37:14 +0000 (16:37 -0700)
committerCarl Sorensen <c_sorensen@byu.edu>
Fri, 7 Nov 2008 23:37:14 +0000 (16:37 -0700)
Documentation/user/fretted-strings.itely
ly/predefined-fretboards-init.ly

index ebedb7cb658cd0a9c06884871ebc3fe13bc7ebe2..2ba52055393326bc6e1b3082b86631c016b081de 100644 (file)
@@ -166,7 +166,7 @@ The notes are printed as tablature, by using @code{TabStaff} and
 
 
 When no string is specified for a note, the note is assigned to
-the lowest string that can generate the note with a fret number
+the highest string that can generate the note with a fret number
 greater than or equal to the value of @code{minimumFret}.
 The default value for @code{minimumFret} is 0.
 
index 353c015b8c8bb4f203e957bf35aca03e560f01d5..e999c93a4d38a0792e8156c23b91dbb97ddfa298 100644 (file)
@@ -23,6 +23,8 @@
 addChordShape =
 #(define-music-function (parser location key-symbol shape-string)
    (symbol? string?)
+   "Add chord shape @code{shape-string} to the @code{base-chord-shapes}
+alist with the key @code{key-symbol}."
    (set! base-chord-shapes 
            (acons key-symbol shape-string base-chord-shapes))
    (make-music 'SequentialMusic 'void #t))
@@ -38,6 +40,9 @@ addChordShape =
 storePredefinedDiagram =
 #(define-music-function (parser location chord tuning terse-definition)
   (ly:music? list? string?)
+  "Add predefined fret diagram defined by fret-diagram-terse definition
+string @code{terse-definition} for the chord pitches @code{chord} and
+the stringTuning @code{tuning}."
   (let* ((pitches (event-chord-pitches 
                     (car (extract-named-music chord 'EventChord))))
          (hash-key (cons tuning pitches)))