I'm planning to built a small MIDI keyboard and want to communicate using a USB connection for laptop use
Does anyone have any good Ideas or sample code
biggest problem is the Windows driver and the device descriptor
I have already built a few project using Microchips USB chips communicating with them as HID devices but I want windows to enumerate my keyboard as a native MIDI
Win XP supposedly have native midi driver support but I have not been able to get this to work
Sorry I cannot help with the coding, but are you aware that there are several commercial USB to MIDI converters around. They seem to be reasonably priced, at least in the UK. Or maybe I misunderstand and you just want to do this as an engineering project, rather than to save money.
There is project EZ USB Midi which is desigend for Linux
but can be used as a base
Full source and docs are included
try google I can not remember the link