summaryrefslogtreecommitdiff
path: root/gtk2_ardour/note.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2018-07-03 11:28:01 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2018-07-03 11:28:01 -0400
commita1df752095f9aec96711b8f9693172fd32cc60ba (patch)
treec38259d8aacb7d401020ce3372d0648f93a76b50 /gtk2_ardour/note.cc
parent644a05f60bfbe865b99fa48035db8c3191fe672f (diff)
call Note::set_velocity() at an appropriate time
Diffstat (limited to 'gtk2_ardour/note.cc')
-rw-r--r--gtk2_ardour/note.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/note.cc b/gtk2_ardour/note.cc
index 538751f31f..41c509e615 100644
--- a/gtk2_ardour/note.cc
+++ b/gtk2_ardour/note.cc
@@ -145,3 +145,10 @@ Note::set_ignore_events (bool ignore)
{
_note->set_ignore_events (ignore);
}
+
+void
+Note::set_velocity (double fract)
+{
+ _note->set_velocity (fract);
+}
+