From c8c01bdfa60bd1d2bbd7a640e54cc34b2a3d8d03 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 4 Mar 1997 13:46:56 +0000 Subject: [PATCH] lilypond-0.0.39 --- m2m/include/midi-track.hh | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 m2m/include/midi-track.hh diff --git a/m2m/include/midi-track.hh b/m2m/include/midi-track.hh new file mode 100644 index 0000000000..22e110b2e5 --- /dev/null +++ b/m2m/include/midi-track.hh @@ -0,0 +1,38 @@ +// +// midi-track.hh -- declare midi_track +// +// copyright 1997 Jan Nieuwenhuizen + +#ifndef MIDI_TRACK_HH +#define MIDI_TRACK_HH + +/// (midi_track) +class Midi_track { +public: + Midi_track( int number_i, String copyright_str, String track_name_str, String instrument_str ); + + void add_event( Moment mom, Midi_event* midi_event_p ); + Moment end_mom(); + String name_str(); + void output_mudela( Lily_stream& lily_stream_r ); + Moment next_begin_mom( Moment now_mom ); + Moment next_end_mom( Moment now_mom ); + void process(); + Track_column* tcol_l( Moment mom ); + + String copyright_str_; + String instrument_str_; + String name_str_; + +private: + void add_begin_at( PointerList& open_voices_r, Moment mom ); + Midi_voice* get_free_midi_voice_l( Moment mom ); + void remove_end_at( PointerList& open_voices_r, Moment mom ); + IPointerList tcol_p_list_; + IPointerList midi_voice_p_list_; + int number_i_; + +}; + +#endif // MIDI_TRACK_HH + -- 2.11.4.GIT