From: no AT no DOT no (megatron) Newsgroups: comp.os.msdos.djgpp Subject: Re: 8-Bit Clipping Date: Wed, 18 Aug 1999 06:55:59 GMT X-ELN-Insert-Date: Wed Aug 18 00:35:14 1999 References: <37B46FE9 DOT 87C3B20D AT geocities DOT com> X-Newsreader: News Xpress 2.01 Organization: decepticons X-Posted-Path-Was: stinky Lines: 13 NNTP-Posting-Host: pool0303.cvx1-bradley.dialup.earthlink.net X-ELN-Date: 18 Aug 1999 07:30:47 GMT Message-ID: <7pdnf7$bhu$1@holly.prod.itd.earthlink.net> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <37B46FE9 DOT 87C3B20D AT geocities DOT com>, Sahab Yazdani wrote: It is possible that the problem is with the audio data itself. If a sound does not end on "zero crossing",meaning that the waveform ends with a volume of 0,an audible click will be heard when the audio finishes playing. Avoid this by fading out the very last bit of the sample. The same is true for the begining of a sample.Of course a fade in would be the fix in this case. It's worth a try anyway. >Well I fixed the Mixing problem. (THanks everybody). >Now I have a problem with 8-bit clipping (It gives a little "wick" at >the end of every wirte). I have no clue how to fix this. And the >Allegro code simply made my head spin. Any hints, web-sites, info???