This is week 2 tutorial of Max for Live Madness, and article on parsing note and velocity data. https://goo.gl/9XxEjU
I also made a video on how to make a simple MIDI note Info device using various Max and Live Objects.
A download link for the device in the article.