[comp.sys.amiga.programmer] harmony between speech and MED.

casper@aix01.aix.rpi.edu (Jasper Y Wong) (06/26/91)

Help!  I'm writing a program w/ Lattice C which requires the usage of
MED songs and speech.  I've gotten the MED songs working by using the
modplayer.o and linking the songs with the executable.  However, since
both speech and MED use the same audio channel, I figure I must do
some adjustments to the code so that it would opens and closes each
task as required.  However, I've encountered difficulities when I tried
to close up the speech setup so that the audio channel would be open for
MED.  Since I have lack of reference to how to actually set up a speech
routine, I've been stealing the code from PD programs which do not really
explain to me HOW to set up a speech routine properly.  I can get the
speech routine working if I don't take MED songs into the code and have
all the libraries close at the end of the program.  So, can anyone
please help me?  I need the information on how to set up the speech routine
and how to CLOSE it especially (since it's what has been causing the program
to crash!).  Any help would be appreciated!
						Jasper
						casper@rpi.edu