From c3f458816fd8e8476b226c9aa0c2cd4765fe06ec Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 20 Apr 2011 02:47:45 +0000 Subject: [PATCH] show MIDI channel for notes with verbose canvas cursor (#3883) git-svn-id: svn://localhost/ardour2/branches/3.0@9390 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/midi_region_view.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/midi_region_view.cc b/gtk2_ardour/midi_region_view.cc index af3b624eeb..9be06cb1b7 100644 --- a/gtk2_ardour/midi_region_view.cc +++ b/gtk2_ardour/midi_region_view.cc @@ -3197,9 +3197,10 @@ void MidiRegionView::show_verbose_canvas_cursor (boost::shared_ptr n) const { char buf[24]; - snprintf (buf, sizeof (buf), "%s (%d)\nVel %d", + snprintf (buf, sizeof (buf), "%s (%d) Chn %d\nVel %d", Evoral::midi_note_name (n->note()).c_str(), (int) n->note (), + (int) n->channel() + 1, (int) n->velocity()); trackview.editor().show_verbose_canvas_cursor_with (buf, 10, 20); }