Path: utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!larry!monty From: monty@larry.sal.wisc.edu (Monty Schmidt) Newsgroups: comp.windows.ms.programmer Subject: Music Standard.. Message-ID: <1163@larry.sal.wisc.edu> Date: 6 Nov 90 16:59:02 GMT Reply-To: monty@larry.sal.wisc.edu.UUCP (Monty Schmidt) Organization: none Lines: 38 Since once again the music discussion has come up I'll give the latest status on the Music Driver for the Adlib card I'm working on... The stupid beep microsoft gave us is gone.. it now defaults to the adlib card voice 9 using whatever instrument is loaded there. I can play 9 voice music.. in the BACKGROUND. Some of the calls I have added are .. AdlDetect() /* looks for an adlib card */ AdlIOBaseSet(baseval) /* set's the correct base */ AdlKeyOn(voice) AdlKeyOff(voice) /* Absolute Key on and off */ AdlSetNote(note) /* Absolute Set Note */ AdlSetVoiceInstrument(int voice, far *Instptr) /* sets instrument for voice*/ The basic Windows sound calls are supported including.. SetVoiceNote, SetVoiceQueueSize, OpenSound() StartMusic() /* load the queue and let er fly */ etc.. etc... 5 voice Pachelbel's Canon in D sounds gorgeous with Bass, 3 violins, and a harpsichord. I have found another bug in the Msoft sound.drv... when calculating note length they check to see if any dots are passed to the routine by doing a cmp bx,bx jnz ... try this guys or bx,bx jnz... At any rate if people would like a lengthy document on the driver I will write up a theory of operation and document all the supported calls.... At this point I'm trying to get Adlib to take a look... Also doing optimization for slow computers.. I have the luxury of a 386-25 but just purchased a 386-16sx to try on there. Now I have to get percussive mode finished <11 voices ooh ahhhh>.... I would also like feedback from people who are heavily into this on what we should use for a standard music file format. . This driver is currently running in enhanced mode.. haven't even bothered to try the lower modes but there should be no problem.. Monty