lilypond-0.1.33
[lilypond.git] / hdr / mididef.hh
blob9a24fa51ffcd579c5939f0fb7d37cb48c0cfc1dd
1 /*
2 mididef.hh -- declare
4 source file of the LilyPond music typesetter
6 (c) 1997 Jan Nieuwenhuizen <jan@digicash.com>
7 */
10 #ifndef MIDIDEF_HH
11 #define MIDIDEF_HH
12 #include "proto.hh"
13 #include "real.hh"
14 #include "string.hh"
15 #include "moment.hh"
18 /**
20 struct Midi_def {
21 /// output file name
22 String outfile_str_;
24 /// duration of whole note
25 Real whole_seconds_f_;
27 Midi_def();
28 Midi_def(Midi_def const& midi_c_r);
29 ~Midi_def();
31 Real duration_to_seconds_f(Moment);
32 int get_tempo_i( Moment moment );
33 void set_tempo( Moment moment, int count_per_minute_i );
34 void print() const;
37 #endif // MIDIDEF_HH //