Sign in to follow this  
AutoBot

Best Sound API?

Recommended Posts

I've been thinking about using OpenAL for my audio engine just due to its similar model to OpenGL, which is the graphics API I'm using, but I can't be sure since I don't have much experiance in terms of implementing audio in my applications. Any suggestions on a good sound API for C++ and FL Studio?

Share this post


Link to post
Share on other sites
[quote name='AutoBot' timestamp='1308256816' post='4824219']
I've been thinking about using OpenAL for my audio engine just due to its similar model to OpenGL, which is the graphics API I'm using, but I can't be sure since I don't have much experiance in terms of implementing audio in my applications. Any suggestions on a good sound API for C++ and FL Studio?
[/quote]

I've had an excellent experience with FMOD (www.fmod.org), but it does depend on how complex the audio design for your game will be. If you want your game to make some noise and play music tracks, then OpenAL is quick and simple to set up and supports a variety of platforms, but if you want an all-singing-all-dancing event-based audio subsystem with UI tools and advanced effects then OpenAL has been a little outdated for years.

What would you like to achieve?

Share this post


Link to post
Share on other sites
[quote]What would you like to achieve?[/quote]

I'd like as much flexability as possible, as well as performance, so I'm probably going to stay away from OpenAL now. I've taken a look at FMOD's site and I'm amazed at how many games use it, as well as how active their community is.

So I'll try FMOD out, unless if there's anything else that seems to be better than that. This looks really promising, though.



EDIT: I see that the licensing fee for FMOD is nearly $10,000, so I can't use that for my games at the moment. Any other ideas?

Share this post


Link to post
Share on other sites
[quote name='AutoBot' timestamp='1308274247' post='4824310']
EDIT: I see that the licensing fee for FMOD is nearly $10,000, so I can't use that for my games at the moment. Any other ideas?
[/quote]

Actually you're looking at the "big boys" (i.e. Nintendo, Sony, etc) licensing section. For more casual projects this is their rate structure:

[quote]

[b]FMOD Casual License[/b]

This license is intended for budget titles released electronically, including Xbox Live Arcade, Sony PSN, Nintendo WiiWare, low price mobile, and PC.


[b]Licensing for 1 title[/b]

ProductDescriptionCost for 1 title FMOD Ex (including Designer) First Platform $ 3,000 USD FMOD Ex (including Designer) Subsequent Platforms $ 1,500 USD FMOD Ex (including Designer) iOS/PSP Mini/Android $ 500 USD(taken from: [url="http://www.fmod.org/index.php/sales"]http://www.fmod.org/index.php/sales[/url])
[/quote]

$3,000 is much cheaper than $10,000 but it could still be beyond what is possible for your project. The nice part is you only have to pay the license when your game is published. Until then you can freely download and work with the tools so you could potentially put everything together then seek funding and use your functional game as a demonstration.

Share this post


Link to post
Share on other sites
Alright, that is a bit better. IMHO I'd rather stay away from any payed resources for my games that go over $1000, really. Don't get me wrong on this, it still looks like a fantastic API and I may even use it just to get insight on audio APIs in general, but I'd rather save expensive publishing licenses as a last resort for now. This still looks like a good idea to have in mind, though.

Any other ideas? For now I want to highlight the main tools out there that I can use when programming my games. I've google searched "audio API" and there's plenty of results out there, I'm just not sure which one to pick.

Share this post


Link to post
Share on other sites
[quote name='AutoBot' timestamp='1308580722' post='4825493']
...So... OpenAL I suppose? What is the difference between that and FMod?
[/quote]

OpenAL, from what I remember when I worked with it, doesn't have nearly the same amount of ready-made tools and interfaces for the audio creator/implementer to work with. Also FMOD has a much deeper music system that can allow for full customization of when and how music cues transition from each other, add or subtract layers and many other things.

Share this post


Link to post
Share on other sites
[quote]OpenAL, from what I remember when I worked with it, doesn't have nearly the same
amount of ready-made tools and interfaces for the audio creator/implementer to
work with.[/quote]

Is this something that a DAW such as FL Studio could supplement for? Or is that completely different from the feature set of FMOD?

Share this post


Link to post
Share on other sites
OpenAL is just a low level API for sound play back; the features that FMOD has above and beyond it would have to be built on top of it by a programmer.
(As a side note I'm suprised by the FMOD licensing as I seem to recall them having a cheaper option when I last looked... oh well...).

This has no relation to a DAW; you'd use FLStudio to render out your audio (be it sound fx or music) to something like WAV or Ogg format (or MP3 but that has licensing issues attached to it) and then load that in your program and present it to the API in much the same was as you'd use something like Blender to make a model which is then exported and loaded for display via OpenGL.

Share this post


Link to post
Share on other sites
[quote name='AutoBot' timestamp='1308587835' post='4825538']
Is this something that a DAW such as FL Studio could supplement for? Or is that completely different from the feature set of FMOD?
[/quote]

Again [i](to tag team what Phantom already said)[/i] FL Studio just creates the audio assets but does nothing when it comes to [i]implementing[/i] the audio in the video game. Not to be rude, but this has been brought up and discussed in your other thread. By asking this question again, I'm afraid you might not still understand this concept.

Share this post


Link to post
Share on other sites
I know the difference between asset creation and implementation, it was only a miscommunication. When you said "audio creator/implementor" I thought you meant FMOD had it's own audio creation suite. xD But it is only an audio implementation suite.

Is it possible to duplicate the interfaces of FMOD from the ground up using OpenAL (from a theoretical standpoint)? Or does FMOD have extra hardware access/support that OpenAL doesn't have? I usually like low level APIs to some extent because I can customize an object model of my own to create my game engine with.

Share this post


Link to post
Share on other sites
[quote name='AutoBot' timestamp='1308595290' post='4825591']
I know the difference between asset creation and implementation, it was only a miscommunication. When you said "audio creator/implementor" I thought you meant FMOD had it's own audio creation suite. xD But it is only an audio implementation suite.[/quote]

Oh, what I meant by "audio creator/implementer" is that in many cases the person that creates the audio also implements it. In other cases, commonly freelance, someone else implements the audio.

[quote name='AutoBot' timestamp='1308595290' post='4825591']
Is it possible to duplicate the interfaces of FMOD from the ground up using OpenAL (from a theoretical standpoint)? Or does FMOD have extra hardware access/support that OpenAL doesn't have? I usually like low level APIs to some extent because I can customize an object model of my own to create my game engine with.
[/quote]

Sure it's possible but it would take a good bit of programming, time and effort.

Share this post


Link to post
Share on other sites
[quote name='AutoBot' timestamp='1308595290' post='4825591']
Or does FMOD have extra hardware access/support that OpenAL doesn't have?
[/quote]

It's likely to be the other way around; FMOD sits on top of the platforms audio system, however with OpenAL on windows you can bypass the normal software stack and go "direct" to the hardware on Creative cards meaning you have some access to the EAX effects and (for some cards) on-card RAM for small sounds.

However the work load to produce something like FMOD, including the tools it has, is going to be very high indeed so probably isn't worth the effort.

Share this post


Link to post
Share on other sites
Depending on which platforms/languages you're aiming to support, Microsoft's XACT might be something to look at (http://msdn.microsoft.com/en-us/library/ee416188%28v=VS.85%29.aspx).

It's an audio API plus set of UI tools for creating sound waves, banks, events and effects, with a data-driven API to get the stuff working in game exactly how you authored it. Documentation is excellent, sample code is plentiful and since it's mostly aimed towards the XNA community the support forums are lively.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this