diff --git a/gtk2_ardour/midi_region_view.cc b/gtk2_ardour/midi_region_view.cc index 464058397a..0941806877 100644 --- a/gtk2_ardour/midi_region_view.cc +++ b/gtk2_ardour/midi_region_view.cc @@ -3336,8 +3336,8 @@ MidiRegionView::data_recorded (boost::shared_ptr buf, boost::weak_pt if (ev.type() == MIDI_CMD_NOTE_ON) { - boost::shared_ptr > note ( - new Evoral::Note (ev.channel(), time_beats, 0, ev.note(), ev.velocity()) + boost::shared_ptr note ( + new NoteType (ev.channel(), time_beats, 0, ev.note(), ev.velocity()) ); add_note (note, true);