From 3f1a12ded2b6e98273341c696ce5dce8088ab011 Mon Sep 17 00:00:00 2001 From: Carl Sorensen Date: Fri, 7 Nov 2008 16:37:14 -0700 Subject: [PATCH] Add doc strings to predefined fretboards function, update manual on TabStaff --- Documentation/user/fretted-strings.itely | 2 +- ly/predefined-fretboards-init.ly | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/user/fretted-strings.itely b/Documentation/user/fretted-strings.itely index ebedb7cb65..2ba5205539 100644 --- a/Documentation/user/fretted-strings.itely +++ b/Documentation/user/fretted-strings.itely @@ -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. diff --git a/ly/predefined-fretboards-init.ly b/ly/predefined-fretboards-init.ly index 353c015b8c..e999c93a4d 100644 --- a/ly/predefined-fretboards-init.ly +++ b/ly/predefined-fretboards-init.ly @@ -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))) -- 2.39.2