[EMAIL PROTECTED] writes:
> * Han-Wen Nienhuys
>
> > you could try to redefine the dynamics as scripts (see
> > init/script.ly), and use
> >
> > c4^\f
>
> Why not rather have an attribute dynamic_direction ("above",
> "below" or "don't care") somewhere (Voice springs to mind)?
>
>
That's a cool idea; untested patch follows:
--- dynamic-grav.cc.orig Mon Jun 22 14:47:06 1998
+++ dynamic-grav.cc Mon Jun 22 14:47:09 1998
@@ -123,6 +123,12 @@
if (dynamic_p_)
to_end_cresc_p_->dyn_b_drul_[RIGHT]=true;
+
+ Scalar prop = get_property ("dynamicdir");
+ if (prop.isnum_b ())
+ {
+ to_end_cresc_p_->dir_ = (Direction) (int) prop;
+ }
to_end_cresc_p_->set_bounds(RIGHT,get_staff_info().musical_l ());
to_end_cresc_p_->add_support (s_l);
typeset_element (to_end_cresc_p_);
@@ -130,6 +136,11 @@
}
if (dynamic_p_)
{
+ Scalar prop = get_property ("dynamicdir");
+ if (prop.isnum_b ())
+ {
+ dynamic_p_->dir_ = (Direction) (int) prop;
+ }
dynamic_p_->add_support (s_l);
typeset_element (dynamic_p_);
> --
>
> Arvid
>
>
--
Han-Wen Nienhuys, [EMAIL PROTECTED] ** GNU LilyPond - The Music Typesetter
http://www.cs.uu.nl/people/hanwen/lilypond/index.html