2 midi-walker.hh -- declare Midi_walker
4 (c) 1996,97 Han-Wen Nienhuys, Jan Nieuwenhuizen <jan@digicash.com>
11 #include "lily-proto.hh"
12 #include "grouping.hh"
13 #include "staff-walker.hh"
18 struct Note_event : PQueue_ent<Moment,Melodic_req*>
26 int compare(Note_event const&, Note_event const&);
29 a simple walker which collects midi stuff, and then outputs.
31 Should derive from Staff_walker
33 class Midi_walker : public PCursor<Staff_column*>
37 PQueue< Note_event > stop_notes;
42 void do_stop_notes(Moment);
43 void do_start_note(Note_req *note_l);
44 void output_event(Midi_item&, Moment);
47 Midi_walker(Staff*, Midi_track*);
48 void do_process_requests();
53 #endif // MIDIWALKER_HH