]> 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)
committerFrancisco Vila <francisco.vila@hispalinux.es>
Fri, 16 Apr 2010 11:24:58 +0000 (13:24 +0200)
commit5cda9afcf33032bd953c9fc1dd147822177cdddb
tree2ba69029ae44d8272dc10b8dcc9f39391e0e2e0e
parent80e6ba1898ac1d299851002844658c725597969e
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