LWJGL
May 22, 2012, 16:04:06 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.8.3 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: LWJGL SimpleSoundEngine  (Read 753 times)
amarzo
Newbie
*
Posts: 4



WWW
« on: July 29, 2011, 05:14:55 »

After having tested that all features which  LWJGL offers work like a charm on Win, Mac and Linux; I think that creating tools and even some games with it would be great.

For the SoundEngine I decided to extract and isolate the one from Slick library.  I only need music streaming from an Ogg and playing some samples. However I found that at least Sound&Music in the library is little bit messy and what is even worse, it does not deal with resource releasing at all.

Yesterday I “bake” SimpleSoundEngine (so for sure it is still buggy), a very simple and basic sound engine (somehow similar to CocosDenshion). It basically allows you to stream one OGG while playing some samples.

http://code.google.com/p/lwjgl-simplesoundengine/

I think it would be easy to extend it (3D placement and all that stuff) or to change URLs instead of paths for file location. Synch would be needed if you plan to call it from multiple threads.

Here it is a binary version http://lwjgl-simplesoundengine.googlecode.com/files/SimpleSoundEngineBinary.zip in the source code there is a frame designed for testing it (a good place to learn how to use the engine), therefore you can download this, unzip, double click the jar, drop music and files and play around.

I know it is very tiny and trivial but for me it would have been handy to have something like this. As I am going to use it for my real projects I promise to keep it updated.
Logged
mattdesl
Newbie
*
Posts: 13


« Reply #1 on: August 28, 2011, 11:45:11 »

I'm working on a sound engine myself using Slick-Util; cool to see it from another perspective! Looks good. Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!