2 event.hh -- declare Event baseclasses.
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
15 #include "virtual-methods.hh"
18 #include "duration.hh"
21 /** An atom of musical information. This is an abstract class for any
22 piece of music that does not contain other Music.
26 class Event
: public Music
{
29 VIRTUAL_COPY_CONS (Music
);
30 virtual void compress (Moment
);
31 virtual void transpose (Pitch
);
32 virtual Moment
get_length () const;
33 virtual Pitch
to_relative_octave (Pitch
);
40 class Key_change_ev
: public Event
46 VIRTUAL_COPY_CONS (Music
);
47 void transpose (Pitch d
);
50 SCM
transpose_key_alist (SCM
,SCM
);