From: "Shadow Seeker" Newsgroups: comp.os.msdos.djgpp Subject: Re: sound Date: Thu, 30 Apr 1998 00:14:52 +0200 Organization: Delft University of Technology Lines: 18 Message-ID: <6i9oth$o17$1@news.tudelft.nl> References: <199804292105 DOT XAA07727 AT legolas DOT mdh DOT se> NNTP-Posting-Host: willow.akira.tudelft.nl To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk >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? I solved this by creating four streaming buffers, four would be the number of channels you wish to use. And, you then take the average of the four buffers. And output that to the sound port like you would the data of a normal Wav file. Then when you wish to play a sound all you need to do is copy it to one of the channels. This is very basic, things get more complex when you wish to mix different frequencies, but it is mixing.. \/\/outer