2 key-performer.cc -- implement Key_performer
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1999 Jan Nieuwenhuizen <janneke@gnu.org>
9 #include "key-performer.hh"
10 #include "command-request.hh"
11 #include "audio-item.hh"
16 ADD_THIS_TRANSLATOR (Key_performer
);
18 Key_performer::Key_performer ()
24 Key_performer::~Key_performer ()
29 Key_performer::do_print () const
38 Key_performer::do_process_requests ()
42 audio_p_
= new Audio_key (key_req_l_
->key_
);
43 Audio_element_info
info (audio_p_
, key_req_l_
);
44 announce_element (info
);
50 Key_performer::do_pre_move_processing ()
54 play_element (audio_p_
);
60 Key_performer::do_try_music (Music
* req_l
)
62 if (Key_change_req
*kc
= dynamic_cast <Key_change_req
*> (req_l
))
65 warning (_ ("FIXME: key change merge"));