X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fmidi-walker.hh;h=30ad18fe901c8cfcfa55ca06c520cbdf1015d706;hb=c8989177a23864cfa3d44e013585e719b816acfd;hp=fcfcb0c6e029a0f963da08bb2eb14e24292b8ecd;hpb=d8018dfc750f1dee8e1ee78a5d5f51b06d4c8348;p=lilypond.git diff --git a/lily/include/midi-walker.hh b/lily/include/midi-walker.hh index fcfcb0c6e0..30ad18fe90 100644 --- a/lily/include/midi-walker.hh +++ b/lily/include/midi-walker.hh @@ -12,17 +12,27 @@ #include "staff-walker.hh" #include "pcursor.hh" #include "pqueue.hh" +struct Note_event : PQueue_ent +{ + bool ignore_b_; + Note_event() { + ignore_b_ = false; + } +}; +int compare(Note_event const&, Note_event const&); /** a simple walker which collects midi stuff, and then outputs. Should derive from Staff_walker */ -class Midi_walker : public PCursor { +class Midi_walker : public PCursor +{ Midi_track *track_l_; - PQueue stop_notes; + PQueue< Note_event > stop_notes; + Moment last_moment_; /* *************** */