source file of the GNU LilyPond music typesetter
- (c) 1996--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1996--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include "event.hh"
#include "warn.hh"
-MAKE_SCHEME_CALLBACK(Event,length_callback,1);
+MAKE_SCHEME_CALLBACK(Event, length_callback, 1);
SCM
Event::length_callback (SCM m)
{
ADD_MUSIC (Event);
-Key_change_ev::Key_change_ev (SCM x)
- : Event (x)
-{
-}
-void
-Key_change_ev::transpose (Pitch p)
-{
- SCM pa = get_property ("pitch-alist");
- set_property ("pitch-alist", ly_transpose_key_alist (pa, p.smobbed_copy ()));
- Event::transpose (p);
-}
-ADD_MUSIC (Key_change_ev);