2 midi-walker.hh -- declare Midi_walker
4 (c) 1996, 1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
5 Jan Nieuwenhuizen <janneke@gnu.org>
15 #include "lily-proto.hh"
18 struct Midi_note_event : PQueue_ent<Moment, Midi_note_off*>
24 int compare (Midi_note_event const& left, Midi_note_event const& right);
27 walk audio and output midi
29 class Midi_walker : public PCursor<Audio_item*>
32 Midi_walker (Audio_staff* audio_staff_l, Midi_track* midi_track_l);
38 void do_start_note (Midi_note* note_p);
39 void do_stop_notes (Moment now_mom);
40 void output_event (Moment now_mom, Midi_item* l);
43 PQueue<Midi_note_event> stop_note_queue;
48 #endif // MIDI_WALKER_HH