"Phil Holmes" <m...@philholmes.net> writes: > ----- Original Message ----- > From: "David Kastrup" <d...@gnu.org> > To: <lilypond-user@gnu.org> > Sent: Sunday, October 21, 2012 5:04 PM > Subject: Re: Hairpins > > >> "Phil Holmes" <em...@philholmes.net> writes: >> >>> Apart from using parallel spacer rests, is there any way to make a >>> hairpin only one note long? >> >> You don't mean \accent? > > > Definitely not. As has been said, it's common in vocal music to > "hairpin down" over a single note, especially a long note. "Hairpin > up" is also used, but somewhat less common. It's a shame that a > standard piece of musical notation is not supported.
{ \endSpanners c1\< } > See also sustain on/off on a single note. <URL:http://lists.gnu.org/archive/html/lilypond-devel/2012-09/msg00622.html>, another example of the "not good enough" spirit. Could be used somewhat like at = #(define-music-function (parser location time event music) (ly:duration? ly:music? ly:music?) "Place @var{event} at a relative duration @var{time} in relation to @var{music}." #{ \context Bottom << { \skip $time <>$event } $music >> #}) { \at 1\! \at 1*1/2 \> c1\< } (I am using \context Bottom here to avoid the creation of multiple implicit contexts when used outside of an already started Voice). Note that while this gives perfectly feasible results in Midi, the graphical representation is not satisfactorily: in the absence of explicit note columns, rigid proportional spacing would make a lot more sense. It might also make sense to have a single spanner available for the up/down concept that distributes both halves of the sustain symmetrically, possibly disregarding note columns from other voices. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user