I now coded such a callback.
See attached.
The file includes the relevant regtest.
Triggered by figured-bass-extenders-markup.ly a design-decision is be needed,
how to deal with text-markups.
Needs design-decision as well: how to deal with suspended NoteHeads.
Attachments:
-
As David already pointed out this patch looks only at the duration of the
BassFigure whether to apply some translation or not. This will only work, if
the durations of BassFigure and related note match.
To illustrate:
~~~
<<
\relative c' { c1 c'8 d e f g f e d }
\figures { <6+>2 <6+>2 <6+>1