Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Poll: Would you want Binaural Recording in Amnesia?
You do not have permission to vote in this poll.
Yes!
77.27%
17 77.27%
No!
22.73%
5 22.73%
Total 22 vote(s) 100%
* You voted for this item. [Show Results]

Binaural recording in Amnesia
Tayrtahn Offline
Junior Member

Posts: 21
Threads: 0
Joined: Apr 2010
Reputation: 0
#12
RE: Binaural recording in Amnesia

It is definitely possible to implement this type of audio system in a game. You would have two "listener" objects in the world to represent the player's ears. When a sound is made in the game world, both listeners record their distances from the source of the sound - this information is used to slightly offset the playback of the sound in either the left or the right channel. Putting that together wouldn't be unreasonable, though it would definitely require more memory and CPU usage. Most developers opt for graphical improvements instead.

It's starts to get tricky when dealing with longer sounds though. Say you have a character speaking to the player in your game - the player is able to move and look freely while that character is talking. When the character starts speaking from a point to the right of where the player is looking, we measure the distances to the player's virtual ears and delay the playback of bob_speech01.ogg for the left channel by the appropriate amount. But now the player turns to look in the opposite direction. We have to slow the rate (but not the pitch) at which the right channel is playing while speeding up (but still maintaining the same pitch) the left channel. And in order to be convincing, that all has to be very smooth, which requires constant recalculation. Calculating all of that at least once per frame is bound to use up a lot of resources. It'd be cool if sound cards started implementing this themselves to take the load off the CPU.

For now, most games settle for panning the sound between the left and right channels to simulate direction. It's a reasonably good effect, and (at present) upgrading to true binaural sound is not enough of a benefit to justify the processing demand. Ah well.
04-20-2010, 09:38 PM
Find


Messages In This Thread
Binaural recording in Amnesia - by Ramsey - 03-26-2010, 12:41 AM
RE: Binaural recording in Amnesia - by Sepai - 03-28-2010, 05:03 AM
RE: Binaural recording in Amnesia - by Sexbad - 03-28-2010, 05:54 AM
RE: Binaural recording in Amnesia - by Thomas - 03-28-2010, 10:06 AM
RE: Binaural recording in Amnesia - by Ramsey - 03-29-2010, 04:49 AM
RE: Binaural recording in Amnesia - by nofsky - 03-30-2010, 02:22 PM
RE: Binaural recording in Amnesia - by Ramsey - 03-31-2010, 04:53 AM
RE: Binaural recording in Amnesia - by naturon - 03-31-2010, 08:48 PM
RE: Binaural recording in Amnesia - by Luis - 04-01-2010, 12:15 PM
RE: Binaural recording in Amnesia - by Tayrtahn - 04-20-2010, 09:38 PM
RE: Binaural recording in Amnesia - by Tzajof - 05-01-2010, 02:37 AM
RE: Binaural recording in Amnesia - by Talraega - 04-29-2010, 06:14 AM



Users browsing this thread: 1 Guest(s)