]> git.donarmstrong.com Git - lilypond.git/commit
Modify fret calculation algorithm
authorCarl Sorensen <c_sorensen@byu.edu>
Thu, 25 Nov 2010 02:42:15 +0000 (19:42 -0700)
committerCarl Sorensen <c_sorensen@byu.edu>
Tue, 7 Dec 2010 00:08:07 +0000 (17:08 -0700)
commite30ac06ae626a2071c21602e83b50f3c4ace40df
treec73895fdc1c77e19c668cde07b25eedc07d0471f
parent142d414654d3ca1ea6217998b51a30504937c4ab
Modify fret calculation algorithm

Zero fingering creates an open string fret.

Add defaultStrings property to define strings that will be used
 in calculating frets if no string number is specified in a chord.

A bad request for an open string pitch will set a warning and set
 the pitch if possible on a non-open string.

Add regression tests for these cases.
input/regression/tablature-default-strings.ly [new file with mode: 0644]
input/regression/tablature-zero-finger.ly [new file with mode: 0644]
lily/fretboard-engraver.cc
lily/tab-note-heads-engraver.cc
scm/define-context-properties.scm
scm/translation-functions.scm