I've been working on some performance material using the OSC support to give me raw data which I then process in Max.
I had noticed from time to time that a note would be suddenly cut off and figured that was my rusty playing style (grin) or something funky with a particular VST. It was completely random.
Today however I decided to track it down because I thought it might have been my Max translation code. However, by displaying the raw received OSC data, I have discovered that occasionally, seemingly at random, I am in fact receiving a keyoff message instantly after a keyon message. After trying this a number of times I discovered a pattern.
Take a look at the last few items from a trace below (from the Max debug window), in particular, the events associated with /key/6
I've noticed that anytime I get the cutoff, I always receive exactly TWO events that contain the note information followed by 0. 0. 0. 0. (i.e, the last four values) and then ONE event with all 0 values after the event number.
This exact pattern is seen every time I get the note cutoff immediately after touching a key.
I have no idea whether this is an Alpha problem, an OSC problem, or something else I haven't thought off.
Would appreciate some insights into what might be happening here.
Thanks,
David
--------------------------
print: /keyboard_1/key/0 42 41 2. 0.047119 0.023438 0.135742
print: /keyboard_1/key/0 42 41 2. 0.045654 0.025391 0.134766
print: /keyboard_1/key/0 42 41 2. 0.044678 0.027344 0.133789
print: /keyboard_1/key/0 42 41 2. 0.042725 0.026367 0.125977
print: /keyboard_1/key/0 0 0. 0. 0. 0.
print: /keyboard_1/key/6 93 92 0. 0. 0. 0.
print: /keyboard_1/key/6 93 92 0. 0. 0. 0.
print: /keyboard_1/key/6 0 0. 0. 0. 0.