Scripting NoteOff to Logic X **Please Help!!**
Posted: 18 Sep 2016 18:45
No matter whether I use note out with vel=0 or midiout with note off message I can't get it to work!
I really like this simple keyboard because it has 3 ergonomic octaves:
I've created a pads object and scripted the scale with a vector so I don't have to create each key separately for a typical midi keyboard... everything works great for note on, velocity etc... but when I release I get a hung note of pitch "0" instead of a note off.
With logic X will it not recognize note out with v=0 as a note off? How does one script a custom midi note off in this case?? Please help!
here is my script in simplest form, attached is the interface
decl index= firstof(keys.x);
decl p=notes[index];
MonitorN.value=p;
if (p>0) noteout (0,p,98,1);
else noteout (0, p, 1,1);
Please and Thanks! By the way I LOVE Lemur... it is becoming an obsession.
I really like this simple keyboard because it has 3 ergonomic octaves:
I've created a pads object and scripted the scale with a vector so I don't have to create each key separately for a typical midi keyboard... everything works great for note on, velocity etc... but when I release I get a hung note of pitch "0" instead of a note off.
With logic X will it not recognize note out with v=0 as a note off? How does one script a custom midi note off in this case?? Please help!
here is my script in simplest form, attached is the interface
decl index= firstof(keys.x);
decl p=notes[index];
MonitorN.value=p;
if (p>0) noteout (0,p,98,1);
else noteout (0, p, 1,1);
Please and Thanks! By the way I LOVE Lemur... it is becoming an obsession.