"Olexa Bilaniuk" <obila...@yahoo.com> wrote in message
news:loom.20110415t051733-...@post.gmane.org...
I'm not top posting.
While trying to create a custom crescendo in LilyPond 2.13.59 and 2.12.3,
I came
up against what I believe is a bug in DynamicTextSpanner's style override
: When
I set 'style to 'hairpin, what is printed out is a straight line,
identical to
the result of setting style to 'line, or anything other than dashed-line
or
dotted-line for that matter. The code that triggers the bug here is lifted
(save
for the change to 'hairpin) straight from Snippets -> Expressive marks ->
Changing text and spanner styles for text dynamics, and though the
description
claims that 'hairpin is a valid style, it clearly is not here. Erroneous
output
is in red.
\version "2.13.59"
\relative c'' {
\set crescendoText = \markup { \italic { cresc. poco } }
\set crescendoSpanner = #'text
\override DynamicTextSpanner #'style = #'line
a2\< a
a2 a
a2 a
a2 a\mf
\once \override DynamicTextSpanner #'color = #red \override
DynamicTextSpanner
#'style = #'hairpin
a2\< a
a2 a
a2 a
a2 a\mf
}
Thanks. If you use \revert DynamicTextSpanner #'style you'll see that the
spanner reverts to a dashed line, so I think the snippet was just wrong.
I've added this as http://code.google.com/p/lilypond/issues/detail?id=1614
then changed the snippet, then closed the issue - so you should see correct
information in the next release of docs.
--
Phil Holmes
Bug Squad
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond