Date: Thu, 30 Apr 1998 18:03:26 +0200 (CEST) From: Archee/CoNTRACT <01dsolt AT gondolat DOT vpg DOT hu> To: =?ISO-8859-1?Q?Magnus_Lindstr=F6m?= cc: djgpp AT delorie DOT com Subject: Re: sound In-Reply-To: <199804292105.XAA07727@legolas.mdh.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit Precedence: bulk hi ! yes ! I have some experience in sound engines. I would recommend to get a SOUND SYSTEM, not to code your own, because there are manu kinds of sound cards. Some sound cards like GUS can mix the sounds from its ONBOARD RAM. You can get some speed, by supporting hardware mixing. But many people have Sound Blaster only. The mixing is very easy if the SAMPLE RATE is the same. If no, you have to use a MIXING RATE. You can simple add the SAMPLES to mix them, but if they owerflow, you can hear bugs. SO you have to decrease the VOLUME first by diving the SAMPLES. I would recommend to code the MIXER in ASM. What kind of sound cards does your engine supports already ? -- Archee/CoNTRACT CODER ( 01dsolt AT vpg DOT hu ) oldnikk:stonee,sutyi web: http://gondolat.vpg.hu/~01dsolt On Wed, 29 Apr 1998, [ISO-8859-1] Magnus Lindström wrote: > Hi.. > > I'm diving further into sound programming and just got the wav part > to work.. Now i've been looking for info about sound mixing for > hours without finding anything comprehensible.. Is there someone out > there who holds the secret or know where it is? > > Thanks.. > Magnus > > _______________________________________ > E-mail-> dal97mlm AT mds DOT mdh DOT se > WWW-> mds.mdh.se/~dal97mlm/ > ICQ UIN -> 3959951 > _______________________________________ >