-// classes, alphasorted
-// statics
-// constructors
-// destructor
-// routines, alphasorted
-
-// statics Midi_def
-// ugh
-
-int Midi_def::den_i_s = 4;
-int Midi_def::num_i_s = 4;
-
-Midi_def::Midi_def()
-{
- outfile_str_ = "";
- itrans_p_ = 0;
- // ugh
- set_tempo( Moment( 1, 4 ), 60 );
-}
-
-Midi_def::Midi_def( Midi_def const& s )
-{
- whole_seconds_f_ = s.whole_seconds_f_;
- itrans_p_ = s.itrans_p_ ? new Input_translator( *s.itrans_p_ ) : 0;
- outfile_str_ = s.outfile_str_;
-}
-
-Midi_def::~Midi_def()
-{
- delete itrans_p_;
-}
-
-Real
-Midi_def::duration_to_seconds_f( Moment mom )
-{
- if ( !mom )
- return 0;
-
- return Moment( whole_seconds_f_ ) * mom;
-}