Programming question about MIDILibrary

Hallo all there! I posted here: http://arduino.cc/forum/index.php/topic,65251.new.html#new a question about programming, in which is involved the MIDI Library. didn't know where it was better to post, so i'm linking also here. wish i didn't do anything bad, for the forum.

take a look, thanks!

ok, i've found out what. working code in the link.

thanks, Davide