commit 8add4978257e23e98cc9eccacfa1661cfb543193
parent ddfbd71fda67723c903e875f1498b3ea8c031cdd
Author: fundamental <mark.d.mccurry@gmail.com>
Date: Sun, 11 Aug 2013 17:01:11 -0400
Min/Max key Callbacks
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/Misc/Part.cpp b/src/Misc/Part.cpp
@@ -62,6 +62,11 @@ static Ports partPorts = {
rToggle(Ppolymode, "Polyphoney mode"),
rToggle(Plegatomode, "Legato enable"),
rParam(Pkeylimit, "Key limit per part"),
+ {"captureMin:", NULL, NULL, [](const char *, RtData &r)
+ {Part *p = (Part*)r.obj; p->Pminkey = p->lastnote;}},
+ {"captureMax:", NULL, NULL, [](const char *, RtData &r)
+ {Part *p = (Part*)r.obj; p->Pmaxkey = p->lastnote;}},
+
//{"kit#16::T:F", "::Enables or disables kit item", 0,
// [](const char *m, RtData &d) {
// Part *p = (Part*)d.obj;