summaryrefslogtreecommitdiff
path: root/gtk2_ardour/note.cc
diff options
context:
space:
mode:
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);
+}
+