Newsgroups: rec.games.programmer,comp.ai.games,comp.os.msdos.djgpp From: "A. Jans-Beken" Subject: Smart stereo sound effects Content-Type: text/plain; charset=us-ascii Message-ID: <349AA5AA.5372@oce.nl> Sender: news AT oce DOT nl (The Daily News @ nntp01.oce.nl) Content-Transfer-Encoding: 7bit Cc: jabe AT oce DOT nl Organization: Océ-Nederland B.V. Mime-Version: 1.0 Date: Fri, 19 Dec 1997 16:49:46 GMT Lines: 17 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk This may be off-topic - please forgive. In a tile-based strategy game I want to add soundeffects (explosions and the like - recorded as MONO wav-files) - I am using DJGPP and allegro. My problem is that a lot of events happen, some on the visible area of the screen, some others not visible. In case of an event how can I decide if I must play the according soundeffect (depending on the position of the vehicle in relation to the visible area) How is the volume altered in relation to the distance and position of the event. Is it possible to include surround soundeffects? Can somebody send me some information? thanx