lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: polyphonic shorthand; line-spanner-interface in Hairpin


From: Kieren MacMillan
Subject: Re: polyphonic shorthand; line-spanner-interface in Hairpin
Date: Tue, 17 Mar 2009 08:36:35 -0400

Hi Mats,

the bottom line is that the actual job is done in voicify-chord and voicify-list in scm/music-functions.scm.

Thanks for the hint *and* the search lesson!  =)

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?

Thanks,
Kieren.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]