From: cmp0122@sys.uea.ac.uk (K. Lee)
Subject: ADLIB CODE and a request for help...
Date: Fri, 30 Apr 1993 11:50:54 GMT


Greetings fellow NETFIENDS, I've just been messing with the Adlib FM
chips, coxing them into making some simple sounds. I've got some routines
working and these are enclosed below. However they are not brilliant and
I'm not sure if they work correctly. I would appreciate it if all you
"experts" would check out the code and tell me where I'm going wrong or
right. These routines were intended to be the start of some more complex
routines to play complete tunes in some standard format..say MIDI, ROL or
CMF. However I'm not really sure how to go about this..suggestions please.
What I would like is some sort of mechanism to play tunes in the background.
This is probably best done by attaching some code to an interrupt (usually
the timer), where the code reads the notes from a queue. So get cracking
on the code and post what you come up with on the network.

P.S. I know there are several commercial programs to play tunes in the
background, however the cost of these routines is ridiculous. We should
be able to get some routines up and running, and available to everyone
for free...

Have fun...

ooo     oo oooo   o           /  WEIRD BUT TRUE
o    oo  o    o  o          /   ----------------------------------------
o  oo   oooooooo o         /    "In 1979, Mr Liy Ming fell asleep in a
ooo     o      o o        /   traffic jam in Tokyo and woke up two days
o  oo   o      o oooooo  /    later in exactly the same place."
o    oo     ------------/ ----------------------------------------------
o      oo     Kevin A. Lee -- " I'm really mad, but I'm not mad really! "
ooo       oo   E-mail: cmp0122@radon.sys.uea.ac.uk




