LinuxDevCenter.com

oreilly.comSafari Books Online.Conferences.

We've expanded our Linux news coverage and improved our search! Search for all things Linux across O'Reilly!

Search
Search Tips

advertisement

Listen Print Subscribe to Linux Subscribe to Newsletters
OpenAL Applications: The User's View

by Dave Phillips
10/13/2000
Heavy Gear screenshot.

Figure 1. Heavy Gear (click for full-size view).

OpenAL is the audio programming interface inside the games Heavy Gear II (Figure 1) and Soldier Of Fortune, both ported to Linux by Loki Entertainment and available for purchase on-line from Loki's Web site. Demo versions are also available, but the demos are rather large (Heavy Gear II is a 67 MB tarball), so unless you have a broadband connection, prepare to be patient while downloading the packages. And of course you'll need a 3D graphics card with hardware support for OpenGL graphics acceleration.

Chromium BSU (Figure 2) is an easy-to-play top-view scrolling shooter. The game is an open source project and includes the OpenAL library code with the package. (Developers, take note!) Audio support includes overlapping explosions and weapon noises, all to the accompaniment of a simple looping soundtrack. The positional effects are especially striking. Once again, you'll need a 3D graphics card for the game's OpenGL graphics.

Screenshot of Chromium

Figure 2. Chromium BSU, an open source game project (click for full-size view).

Blender, a multi-platform 3D rendering package, has incorporated OpenAL as its audio library. Among its other attractions, Blender is a powerful game animation studio, complete with sound control on some of its supported machines. Adopting OpenAL is a very good move for Blender and great news for its users. Designers will no doubt find exciting and novel uses for Blender's new tools for combining audio and visuals, and the OpenAL API should ensure cross-platform 3D audio compatibility, helping developers more easily reach a wider range of users.

The GNU 3DKit is a 3D rendering framework for GNUstep, a GNU project to supply a free replacement for the NeXTstep operating system. The 3DKit uses OpenGL as its 3D graphics rendering engine and OpenAL for 3D audio. Support for 3D audio was apparently designed into the package from its inception, and its RenderKit core library provides access to the OpenAL services.

A report in the Linux Journal stated that the Corel Corporation plans to include OpenAL in its Corel Linux distribution, presumably to act as a general sound service API for Corel packages.

Unfortunately, at this time there are no games with hardware-accelerated OpenAL support. Nevertheless, the games do give the player a good idea of what OpenAL can do as a generalized game sound server, and I highly recommend testing them on your system. They're great games anyway, so you're sure to have some good fun with them. Meanwhile, Creative Labs' presence and input to the project certainly indicates that hardware support for OpenAL is sure to arrive soon.

Next: OpenAL Development: The Programmer's View

Dave Phillips maintains the Linux Music & Sound Applications Web site and has been a performing musician for more than 30 years.


Related Articles:

OpenAL Explained

What Is This 3D Audio Business?


Discuss this article in the O'Reilly Network Linux Forum.

Return to the Linux DevCenter.

 




Tagged Articles

Be the first to post this article to del.icio.us

Recommended for You

  1. Cover of Building Secure Servers with Linux
    Building Secure Servers with Linux
    Print: $44.95
  2. Cover of VMware Cookbook
    VMware Cookbook
    Print: $39.99
    Ebook: $31.99
  3. Cover of sed and awk Pocket Reference
    sed and awk Pocket Reference
    Print: $9.95
    Ebook: $7.99
  4. Cover of Apache: The Definitive Guide
    Apache: The Definitive Guide
    Print: $34.95

Sponsored Resources

  • Inside Lightroom
Advertisement

Sponsored by:

O'Reilly Media

©2009, O'Reilly Media, Inc.
(707) 827-7000 / (800) 998-9938
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.
About O'Reilly
Academic Solutions
Authors
Contacts
Customer Service
Jobs
Newsletters
O'Reilly Labs
Press Room
Privacy Policy
RSS Feeds
Terms of Service
User Groups
Writing for O'Reilly
Content Archive
Business Technology
Computer Technology
Google
Microsoft
Mobile
Network
Operating System
Digital Photography
Programming
Software
Web
Web Design
More O'Reilly Sites
O'Reilly Radar
Ignite
Tools of Change for Publishing
Digital Media
Inside iPhone
makezine.com
craftzine.com
hackszine.com
perl.com
xml.com

Partner Sites
InsideRIA
java.net
O'Reilly Insights on Forbes.com