2 midiwalker.hh -- declare Midi_walker
4 (c) 1996,97 Han-Wen Nienhuys, Jan Nieuwenhuizen <jan@digicash.com>
11 #include "grouping.hh"
12 #include "staffwalker.hh"
18 a simple walker which collects midi stuff, and then outputs.
20 Should derive from Staff_walker
22 class Midi_walker
: public PCursor
<Staff_column
*> {
24 PQueue
<Melodic_req
*, Moment
> stop_notes
;
28 void do_stop_notes(Moment
);
30 void output_event(Midi_item
&, Moment
);
33 Midi_walker(Staff
*, Midi_track
*);
34 void process_requests();
39 #endif // MIDIWALKER_HH