2 midi-def.hh -- declare Midi_def
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1998 Jan Nieuwenhuizen <janneke@gnu.org>
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 {
23 static int default_count_i_;
24 int count_per_minute_i;
26 VIRTUAL_COPY_CONS(Music_output_def);
28 /// duration of whole note measured in seconds.
29 Moment whole_in_seconds_mom_;
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);
38 virtual int get_next_default_count () const;
39 static void reset_default_count();