On 1/5/10 1:08 PM, "Carl Sorensen" <c_sorensen@xxxxxxx> wrote:
On 1/5/10 12:47 PM, "Marc Hohl" <marc@xxxxxxxxxx> wrote:
Carl Sorensen schrieb:
The numbers above the staff on the tablature should be
TabNoteHeads, not part of a bend graphic. The bend graphic should connect
the TabNoteHeads. And in the regular staff, the bend graphic should connect
the NoteHeads.
Ah, I think I understand. As a beam connects multiple notes which are
coded seperately, the bend engraver connects different notes by use of
pointed slurs
or arrows and changes the tab note head into a number, depending on the
first note of the "bend beam".
Yes, that's exactly what I'm thinking. And that's why you shouldn't use the
slur engraver as the starting point for the bend engraver. The slur
engraver has all kinds of positioning that I don't think is needed for
either of the bend indications.
Oops, I missed a mistake in your logic. The bend_engraver is responsible
for drawing beam indicators in both the TabStaff and the Staff. But it's
the tab_note_heads_engraver that is responsible for changing the number of
the tab-note-head to the amount of bend for that note, as well as for
changing the staff position of the bent note.