Cycling74 / min-devkit

Tools, documentation, and reference implementation of a Max Package built using the Min-API.
MIT License
158 stars 31 forks source link

Midi In in Max 4 Live causing strange behavior #153

Closed mourendxu closed 4 years ago

mourendxu commented 4 years ago

Hi,

I ran into a strange, or I just don't understand the problem at hand, issue that I was hoping somebody could help me.

I am trying to grab the velocity of a midi note from a midiin inside of Max 4 Live. I used zl.delace to split the pitch and velocity info from a midiparse. I then send the velocity info to a message box's left outlet with the following: "velocity $1".

I then take the output of the message box and plug into the input of my external. Inside of my external, I am catching anything. However, when I do get a message, my args.size is 0. But if I do a deferlow, right before the my external, everything works properly.

I read through the threading article, but I don't remember seeing a description of this behavior.

Any help would be greatly appreciated.

Thank you.

tap commented 4 years ago

Hi! This problem was very recently fixed (v0.5). What version of the Min-API are you using?

mourendxu commented 4 years ago

Ohh great. How do I check?

mourendxu commented 4 years ago

Sorry, I am pretty sure that I am not using 0.5. I will update to 0.5 and re-check.

For now, I will close this issue.