MIDI through usb

as said before:
use this tutorial it will work
http://www.spikenzielabs.com/SpikenzieLabs/Serial_MIDI.html
also additional links worth mentioning

and in case of making a midi keyboard:

(the picture)