2 midi-walker.hh -- declare Midi_walker
4 (c) 1996,97 Han-Wen Nienhuys, Jan Nieuwenhuizen <jan@digicash.com>
10 #include "lily-proto.hh"
11 #include "grouping.hh"
12 #include "staff-walker.hh"
15 struct Note_event : PQueue_ent<Moment,Melodic_req*>
23 int compare(Note_event const&, Note_event const&);
26 a simple walker which collects midi stuff, and then outputs.
28 Should derive from Staff_walker
30 class Midi_walker : public PCursor<Staff_column*>
34 PQueue< Note_event > stop_notes;
39 void do_stop_notes(Moment);
40 void do_start_note(Note_req *note_l);
41 void output_event(Midi_item&, Moment);
44 Midi_walker(Staff*, Midi_track*);
45 void process_requests();
50 #endif // MIDIWALKER_HH