'midi in" project....

Mem pointed you in the right direction for the code I thought.