• Advertisement
Sign in to follow this  

can somebody tell me some free audio library?

This topic is 4038 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i know bass and fmod is perfect for playing some audio files . But as you know, they are not free if i make a commecial game to sell ! So i need a free audio library ! Can you tell me some ? Thanks !

Share this post


Link to post
Share on other sites
Advertisement
I can recommend SDL_Mixer It is really great and very easy to use library. It Plays .wav as sounds and .ogg as music. You just load a sound and start playing it.

However if you are planning to use 3d sound you can try the OpenAL mentioned here, it is a little harder to get a grip at, especially you have to figure what is sources , buffers .

If you are planning to use ogg/vorbis with it, then it would be much more harder to get the streaming right. The other thing is that the audio requires that OpenAL drivers needs to be installed, so you should provide the installer with your application (setup).

If you need simple 1d sounds and a music, go for the mixer, if you need 3d sounds with ogg prepare for a challenge with OpenAL :)

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Quote:
Original post by DMINATOR
The other thing is that the audio requires that OpenAL drivers needs to be installed


What are these "OpenAL drivers"?

Share this post


Link to post
Share on other sites
Quote:
Original post by Anonymous Poster
Quote:
Original post by DMINATOR
The other thing is that the audio requires that OpenAL drivers needs to be installed


What are these "OpenAL drivers"?


There is an oalinst.exe available from creative website. It installs openal required files and allows to actually use it on client machines (for me this is one major disadvantage). I actually have come with only one machine that had these drivers already pre-installed. So far there were 5-6 machines where I had to install them , including mine.

However most of the creative sound cards ship with the openal drivers as far as I know, and it can be fairly easily to install them silently with the setup with silent key option ,the problem is when you don't want to use the Setup to distribute the file.

Share this post


Link to post
Share on other sites
Quote:
Original post by Kylotan
IrrKlang might work for you, though it's still early in development and I'm sure the API will change.


it's cool , but the supported file format is lack . only support mp3, wav and ogg...maybe later there will be more file format to be supported.

Share this post


Link to post
Share on other sites
What do you want to do? Play music? Play samples? Both? Create a mixer program?

If it's just a game you want, then why not write your own library using DirectSound, or some other low level audio API? That'll give you full control over what formats to support. I tend to use a general set of audio classes that I've written, which can load and play both streaming WAV and OGG files. I've never needed to support any other formats.

Share this post


Link to post
Share on other sites
yeah, i think that's enough . I just want to make a game to sell .
And thanks everybody here . you are really kind .Thanks.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement