2. Can Hairpin inherit line-spanner-interface? If so, can this be
done in Scheme, or does it require C++?
It already has the line-interface and the spanner-interface as well
as 3 other interfaces. Exactly what are you missing in the Hairpin?
I'd like to be able to set #'bound-details, in particular the padding:
\version "2.12.2"
\paper { ragged-right = ##f }
hairpinBoundTest = \relative { c'4\< c\! \override Hairpin
#'(bound-details right padding) = #5.0 c\< c\! }
\score { \hairpinBoundTest }
Eventually, I'd like to have a callback function that gives me the
padding in terms of beats in the current measure (as opposed to staff
spaces), so that I could "trim" a Hairpin by (e.g.) a half note. This
ability would completely eliminate the need for spacer skips, extra
voices, etc.
Does that make sense?