[comp.windows.ms.programmer] Music Standard..

monty@larry.sal.wisc.edu (Monty Schmidt) (11/07/90)

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 <with my driver>
to the adlib card voice 9 using whatever instrument is loaded there.
I can play 9 voice music.. <using standard ROL files converted over to 
SetVoiceNote calls> 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() <returns 9.. 9 voices available>
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.  <not real exicited about ROL
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

mattm@unix.cis.pitt.edu (Matthew C Mossholder) (11/07/90)

back in my face) If you are looking for someone to beta for you, I have
access to loads of different machines (XT's,AT's,386's,and 486's) and
have done a lot of work with windows from the user end (I did beta on
Windows 3.0 also).
				Thanks,
					--Matt Mossholder
					mattm@unix.cis.pitt.edu

mattm@unix.cis.pitt.edu (Matthew C Mossholder) (11/07/90)

Ack... stupid editor. That last message was supposed to be in regards
to the Adlib sound driver for Windows 3.0 that is being developed. My
mailer is bouncing the address so I had to send as a follow up. 
					Sorry.
						--Matt
						mattm@unix.cis.pitt.edu