]> git.donarmstrong.com Git - lilypond.git/commit
Rationalize string number handling for notes and chords
authorCarl Sorensen <c_sorensen@byu.edu>
Sun, 11 Apr 2010 02:27:21 +0000 (20:27 -0600)
committerCarl Sorensen <c_sorensen@byu.edu>
Fri, 16 Apr 2010 03:31:04 +0000 (21:31 -0600)
commit35f7a594800d873f314f00f2c77951acab6dda41
tree28d1dded165734c16cbfc78ced297a29a6e34f4c
parent7c94419f879cc0a80258a27868eaa5f18098b0b6
Rationalize string number handling for notes and chords

Enable the use of both articulations and events for handling
string numbers, while still allowing only some notes to have
string numbers.

Create articulations.cc to house the common code used by both
tab-note-heads-engraver and fretboards-engraver to get string
numbers from the music stream.  This same code can be used
for string-bend articulations and events.

Create a regression test to demonstrate that the code will work
with string numbers partially specified.
input/regression/tablature.ly
lily/articulations.cc [new file with mode: 0644]
lily/fretboard-engraver.cc
lily/include/articulations.hh [new file with mode: 0644]
lily/tab-note-heads-engraver.cc