source file of the GNU LilyPond music typesetter
- (c) 2000 Jan Nieuwenhuizen <janneke@gnu.org>
+ (c) 2000--2004 Jan Nieuwenhuizen <janneke@gnu.org>
*/
#include "performer.hh"
virtual void acknowledge_audio_element (Audio_element_info);
virtual void process_music ();
virtual void stop_translation_timestep ();
- virtual void start_translation_timestep ();
private:
Audio_dynamic* audio_;
play_element (audio_);
audio_ = 0;
}
-}
-void
-Span_dynamic_performer::start_translation_timestep ()
-{
span_req_l_drul_[STOP] = 0;
span_req_l_drul_[START] = 0;
+
}
bool
Span_dynamic_performer::try_music (Music* r)
{
- if (r->is_mus_type ("dynamic-event")) // fixme.
+ if (r->is_mus_type ("crescendo-event")
+ || r->is_mus_type ("decrescendo-event"))
{
Direction d = to_dir (r->get_mus_property ("span-direction"));
span_req_l_drul_[d] = r;
}
ENTER_DESCRIPTION (Span_dynamic_performer,
"", "",
- "dynamic-event",
+ "crescendo-event decrescendo-event",
"", "", "");