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
This commit is contained in:
parent
b25ef3ae69
commit
c3f458816f
@ -3197,9 +3197,10 @@ void
|
||||
MidiRegionView::show_verbose_canvas_cursor (boost::shared_ptr<NoteType> 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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user