- void update_note (Note *, bool update_ghost_regions = true);
- void update_hit (Hit *);
- void create_ghost_note (double, double);
- void update_ghost_note (double, double);
+ boost::shared_ptr<PatchChange> find_canvas_patch_change (ARDOUR::MidiModel::PatchChangePtr p);
+ boost::shared_ptr<SysEx> find_canvas_sys_ex (ARDOUR::MidiModel::SysExPtr s);
+
+ void update_note (NoteBase*, bool update_ghost_regions = true);
+ void update_sustained (Note *, bool update_ghost_regions = true);
+ void update_hit (Hit *, bool update_ghost_regions = true);
+
+ void create_ghost_note (double, double, uint32_t state);
+ void update_ghost_note (double, double, uint32_t state);