'midi in" project....

the 4n28 is nothing but an opto-isolator. Midi is cautiously defined to requre opto-isolators on all component interfaces. You can leave it out for your home experiments, but don't sell anything as "midi" without it.

Also, your computer probably has a midi port already, leave usb out of it.

Hm, so no code eh?