[sdiy] Maybe OT: Midi device driver for windows

mikko.a.helin at nokia.com mikko.a.helin at nokia.com
Tue Nov 12 14:17:40 CET 2002


The Windows DDK is free, just order the CD (ok, you must pay for the shipping).

The MIDI driver must be a WDM filter (works in Win98SE, ME, 2000 and XP). Usually WDM drivers are plug'n play for PCI (and USB) devices, but your custom driver must be installed manually. For intallation you have to write an INF file. 

For first understanding the WDM driver architechture get some good reading like
Walter Oneys Programming the Windows Driver Model (http://www.oneysoft.com/).

I think the driver in question is a KS WDM upper filter. The DDK doesn't have any information on this kind of drivers. You could maybe modify the dmusuart, mpu401 or maybe the directmusic synth samples in DDK. Rolands serial port driver for Win2k is one (binary) example of such driver (www.edirol.com). It includes rdsmidnt.inf .exe .dll and .sys files (don't have an idea what they do, maybe .dll is the user-mode synth which is enumerated, and the .sys is teh WDM driver itself. .exe propably controls serial ports). Propably you should first write the parallel port code (as an .exe file) and then somehow connect the MIDI streams to go through that.

-Mikko

> -----Original Message-----
> From: ext Jay Schwichtenberg [mailto:jays at aracnet.com]
> Sent: 11. November 2002 19:26
> To: synth-diy at dropmix.xs4all.nl
> Subject: RE: [sdiy] Maybe OT: Midi device driver for windows
> 
> 
> Karl,
> 
> See if you can find a programmer in your area with a Microsoft MSDN
> subscription. That will have all the stuff you need. Also 
> Microsoft had (I
> don't know if they still do) a lot of driver stuff online. 
> They are updating
> their DDKs and are in transition mode so things are changing. 
> Check out
> www.microsoft.com/ddk/sitemap.asp and www.msdn.microsoft.com.
> 
> Keep in mind that 98 and w2k are different beasts and will 
> require different
> drivers. With ME and w2k you MIGHT be able to write a WDM 
> driver that could
> work for both. You'll have to do some research to see if that is true.
> 
> Good luck.
> Jay
> 
> > -----Original Message-----
> > From: owner-synth-diy at dropmix.xs4all.nl
> > [mailto:owner-synth-diy at dropmix.xs4all.nl]On Behalf Of Karl Ekdahl
> > Sent: Monday, November 11, 2002 12:39 AM
> > To: synth-diy at dropmix.xs4all.nl
> > Subject: [sdiy] Maybe OT: Midi device driver for windows
> >
> >
> > Hello everyone, i need to make a midi device driver
> > for the new LPT interface i've done. I took a look at
> > the driver on René Schmitz page but since it was for
> > Windows 3.1 i could neither install it nor compile it.
> >
> > Anyone has info on where to look for info? Is the
> > windows 98/2000 system based on ACM or DirectShow?
> > I've got plenty of experience in programming so that
> > shouldn't be any problems, just have to know where to
> > start. The Windows DDK didn't give many answers... :(
> >
> > /Karl
> >
> > _____________________________________________________
> > Gratis e-mail resten av livet på www.yahoo.se/mail
> > Busenkelt!
> >
> >
> 
> 
> 



More information about the Synth-diy mailing list