2009/5/7 Reinhold Kainhofer <reinh...@kainhofer.com>:

> 4)  cresc = #(make-music 'CrescendoEvent 'span-direction START 'spanner-text
> "cresc.")

I favour this version since its the least ambiguous; there's no risk
of a user trying to make e.g. a 'CrescendoEvent with
'descrescendo-text.

> In particular, the question is whether the properties should be (de)crescendo-
> spanner vs. spanner-type, and (de)crescendo-text vs. spanner-text (I prefer
> not to include the crescendo/decrescendo, but keep the same property name for
> both CrescendoEvent and DecrescendoEvent).

I think the generic terms are better here.

> The other question is whether we should stick to LilyPond's usual redundancy
> (i.e. defining both the type and if type=='text, then use the text property) 
> or
> simply take the presence of a text property to infer that the type should be a
> text spanner and not a hairpin?

I think it should be as simple as possible, though if you'd like to
retain the type just in case somebody wants to implement hairpin text
properties later, that's fine by me.

Regards,
Neil


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to