Audio demo using OpenAL and Java

Posted by Mark at December 12, 2004 10:12 PM

I uploaded an audio demo using OpenAL (Open Audio Library) and LWJGL at http://potatoland.org/code/gl. This Java demo loads four WAV files, positions the sounds and plays them in a 3D scene. The sounds will fade in and out realistically as you navigate the scene.

OpenAL is a cross-platform 3D audio API that is similar to OpenGL in appearance. I found it relatively painless to wrap some lower level functions into a simple SoundScape class that manages sounds in a 3D space. LWJGL provides the OpenAL and OpenGL bindings.



Trackbacks

Trackback for this post: http://www.culturekitchen.com/cgi-bin/movabletype/mt-tb.cgi/2639



Comments



Post a comment











Remember personal info?



If you would like an answer personally addressed, please leave a real email address. Emails are kept confidential and they will never be shared with third parties.