Open AL – Open Source 3D Sound API for your Multiplatform Game

Open AL is a free, cross-platform audio API. The API and coding conventions resemble Open GL, and the library has the best multi-channel 3D positional sound support. The library is, currently, supported by Creative Technology and Apple, with an active community backing. It is an excellent DirectSound alternative.

The library models a collection of audio sources moving in a 3D space that are heard by a single listener somewhere in that space. The basic OpenAL objects are: a listener, a source, and a buffer. There can be a large number of buffers, which contain audio data. Each buffer can be attached to one or more sources, which represent points in the 3D space that emit some sound (audio). There is always one listener object (per audio context), which represents the position where the sources are heard—rendering is done from the perspective of the listener.

openal c e1265731625306 Open AL   Open Source 3D Sound API for your Multiplatform Game

The source objects point to an audio buffer, besides the velocity, position, intensity and direction of sound. The audio buffer is the audio data. The listener object contains the velocity, position and direction of the listener (mostly your in-game character). With the help of these three objects, OpenAL helps recreate natural 3D sound in the virtual world (with natural effects such as the Doppler Effect). The library is built with an extensible architecture that makes it very agile and flexible for the future as well.

The API is highly cross-platform and binaries are available for the following platforms: Mac OSX, iPhone, GNU/Linux (OSS/ALSA), BSD, Solaris, IRIX, Windows, Xbox/360, AmigaOS 3.x, and MorphOS. New platform support is not likely in the near future, but this in itself is an exhaustive list.

And if you are wondering what games use Open AL, the following are just some examples: Battlefield 2, Bioshock, Colin McRae: DiRT, Doom 3, Ghost Recon: Advanced Warfighter, Lineage 2, Quake 4, Race Driver: GRID, and Unreal Torunament 2004. The Open AL is also an integral part of the id Tech 3/4/5 and Unreal Engine 2/3 engines.

The library is licensed under LGPL. To work with Open AL, look at the detailed walkthroughs on Open AL by Dev Master. Checkout the Open AL Website.

Scorecard

Feature Set6/7
Ease of Use5/7
Portability7/7
Value for Money7/7

Liked the review?

GD Star Rating
loading...

Recommended Posts

  • Open Graphics Rendering Engine (OGRE 3D) (2)
    Object-Oriented Graphics Rendering Engine (or OGRE, for short) is a highly modular graphics rendering engine. Its job is to interface through the available render systems to connect to the underlying graphics hardware on your computer, process the re...
  • Multiplatform 3D Graphics with Blender (0)
    Once an in-house production software and later freed by its creators, Blender is the animation/CG industry's new kid on the block. Blender is a multi-platform 3D graphics application used for modelling, texturing, rigging, animating, etc. Its source ...
  • Apple iPad – A Giant iPhone or is there more to it? (2)
    From a long time the technology world has been buzzing about a tablet that mighty Apple is about to launch. We have already seen a number of mock ups and concept art that has generated our interest in this tablet. We have a number of tablet computers...
  • Google Transliteration IME: A Better transliteration interface (0)
    So what exactly is this Google Transliteration IME and what does it do? IME stands for Input Method Editor; just think of it as 'the way' to put those extra characters in your language on any writable area, like the area in which you type your mail, ...
  • Indian Railways gives Website a Facelift (2)
    Centre for Railway Information Systems (CRIS) recently gave IndianRail.Gov.In a major facelift. The website serves the purpose of an online Passenger Reservation Enquiry, and is different from the IRCTC website (which is of the Catering and Tourism D...
Line Break

Author: Kinshuk Sunil (72 Articles)

Kinshuk Sunil is the founder of the WiSy Blog. An active evangelist for Open Source and a enthusiast Game Designer, Kinshuk focuses on reviewing Softwares, Services and Games here. However, a jack of all trades, Kinshuk can be found talking about almost everything. Catch up with him on twitter @kinshuksunil.