2 midi-def.hh -- declare Midi_def
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Jan Nieuwenhuizen <jan@digicash.com>
13 #include "lily-proto.hh"
17 #include "music-output-def.hh"
20 definitions for midi output. Rather empty
22 class Midi_def : public Music_output_def {
24 VIRTUAL_COPY_CONS(Midi_def, Music_output_def);
25 DECLARE_MY_RUNTIME_TYPEINFO;
27 /// duration of whole note
28 Real whole_seconds_f_;
31 Midi_def (Midi_def const& midi_c_r);
34 Real duration_to_seconds_f (Moment);
35 int get_tempo_i (Moment moment);
37 void set_tempo (Moment moment, int count_per_minute_i);