+ Reply to Thread
Results 1 to 22 of 22

Thread: OpenAL vs FMOD

  1. #1
    Member
    Join Date
    Sep 2004
    Location
    Vancouver
    Posts
    32

    Question OpenAL vs FMOD

    I've tried implementing both OpenAL+ogg support and FMOD support. I found that FMOD was a little easier to implement but the main reason I chose FMOD was because FMOD could tell me exactly how many hardware channels actually existed and would compensate in software if I accidentally went overboard. OpenAL, on the other hand, didn't give me any (obvious) way of finding out my limit and had no software fallback. So my question is: Did I miss something? There seem to be a number of indies out there who use OpenAL and don't have this problem.

  2. #2
    Senior Member
    Join Date
    Sep 2004
    Location
    Jumping through Europe
    Posts
    1,403

    Question

    I also wonder if anybody tried to use latest mikmod builds lately?
    NO MORE SARCASM, JUST STRAIGHT CAPS FACTS.
    this is sparta!!!!

  3. #3
    Senior Member
    Join Date
    Sep 2004
    Location
    Suriname
    Posts
    148

    Default

    yeah But
    OpenAL is Free

  4. #4
    Senior Member
    Join Date
    Jul 2004
    Location
    Isle of Wight, UK
    Posts
    3,773

    Default

    And you get what you pay for

    That's actually not fair as I've not tried OpenAL, but I'm a devout user of fmod. I started using it as there was a version that runs on pocketpc, but I stayed using it for my desktop stuff as the interface is so damn good. I've still not found a bug in it either.

    FMOD for me...
    Regards,
    Paul Johnson

    [Great BIG War Game: iOS | Android] [Great Little War Game: iOS | Android] [Fruit Blitz: iOS | Android] [Yachty Deluxe: iOS | Android]

  5. #5
    Senior Member
    Join Date
    Sep 2004
    Location
    Jumping through Europe
    Posts
    1,403

    Lightbulb

    We also do use FMOD in some of the projects, however I wanted to hear ANYBODY dealing with mikmod since it has GPL license.
    NO MORE SARCASM, JUST STRAIGHT CAPS FACTS.
    this is sparta!!!!

  6. #6
    Senior Member
    Join Date
    Aug 2004
    Posts
    108

    Default

    I've settled on using FMOD as it provides a nice cross-platform experience with absolutely no headaches. Currently considering porting a game from PC to XBOX & PS2 and FMOD is going to save a lot of headaches.

    I know that the Torque Game Engine makes use of OpenAL, though of course they have wrapped it in their own code and script to insulate the user.

  7. #7
    Junior Member
    Join Date
    Aug 2004
    Posts
    12

    Default

    the only difference I see is the price and time spent implementing.

    I think using FMOD is the best move unless you already invested enough time implementing OpenAL. Besides, the shareware price of FMOD is fairly cheap. If you are starting on implementing sound, then FMOD is the way to go.

  8. #8

    Default

    Quote Originally Posted by emuLynx
    I also wonder if anybody tried to use latest mikmod builds lately?
    Quote Originally Posted by RedKnight
    yeah But
    OpenAL is Free
    Does that mean OpenAL can play MOD/S3M/XM and IT files? I'm using Torque 2D, but I thought that MOD/S3M/XM/IT files were outside of my options for music. I'd LOVE to use them.
    Dave Freeman
    Humanahaba

  9. #9
    Senior Member
    Join Date
    Jan 2005
    Location
    Ottawa, Canada
    Posts
    349

    Default

    For ease of use, performance and capabilities, FMOD wins hands down IMHO. It's worth the $100 bucks for Indy developers.

  10. #10
    Senior Member
    Join Date
    Jul 2004
    Posts
    1,216

    Default

    Quote Originally Posted by Sega
    Does that mean OpenAL can play MOD/S3M/XM and IT files?[...]
    OpenAL can play raw pcm. So, if you have some way to get a decoded pcm stream out of fileformat xyz, you can play it with OpenAL.

  11. #11
    Senior Member
    Join Date
    Sep 2005
    Location
    Citizen of the Universe
    Posts
    492

    Default

    What is the status of OpenAL compatibility on Windoze PC nowadays?

    Also, is OpenAL available for Mac as a standard?

    What about Linux?

    Thanks.
    Greets,
    Fabio

  12. #12

    Default

    I worked with OpenAL about a year ago and it isn't so bad once you get a hang of how to work with it. I found that the best way to find out the number of channels available is to allocate them one at a time until no more channels are returned. Like OpenGL, OpenAL is pretty rudimentary so it makes sense to build an 'engine' around it in the form of channel pooling, support for different audio formats etc.

    Unless one is roll-your-own fanatic and/or really stingy, Fmod is really a time saver. I'm personally working with SDL/SDL_Mixer by the way.. no fancy 3D sound but it surves me well!

    P.S. Fabio, stop complaining about Windows or you'll get a visit by MS 'Ndrangeta...

  13. #13
    Senior Member
    Join Date
    Sep 2005
    Location
    Citizen of the Universe
    Posts
    492

    Default

    Quote Originally Posted by Sharkbait
    I worked with OpenAL about a year ago and it isn't so bad once you get a hang of how to work with it. I found that the best way to find out the number of channels available is to allocate them one at a time until no more channels are returned. Like OpenGL, OpenAL is pretty rudimentary so it makes sense to build an 'engine' around it in the form of channel pooling, support for different audio formats etc.
    "rudimentary" is the word I like most. I only need streaming.. I prefer to do the mixing by myself with my own audio system because I love it, it's already written and debugged, and I admit I'm affected by the NIH Sindrome and anyway nowadays and before CPU power is plenty for this anyway.

    Unless one is roll-your-own fanatic and/or really stingy, Fmod is really a time saver. I'm personally working with SDL/SDL_Mixer by the way.. no fancy 3D sound but it surves me well!
    As I said, I only need streaming. WDM Kernel Streaming is what I use on Win2000+, it's very efficient and low-latency.

    P.S. Fabio, stop complaining about Windows or you'll get a visit by MS 'Ndrangeta...
    Thanks for the protective hint, dude. In fact I tried to keep the profile very low.. if I had to write what I had in my mind 1:1, I'd get that visit for sure.
    Greets,
    Fabio

  14. #14
    Senior Member
    Join Date
    Sep 2005
    Posts
    154

    Default Switched from FMOD to BASS

    I was using FMOD, when I ran in to a serious problem. I couldn't search to a specific time within a MOD file in a reasonable amount of time. It took 500 milliseconds to do a search. BASS doesn't seem to have this problem, and so far is getting the job done.

    -Jeremy
    Zenix3D, because sometimes you just wanna blow stuff up!

  15. #15
    Senior Member
    Join Date
    Jul 2004
    Location
    Durham, UK
    Posts
    4,873

    Default

    Quote Originally Posted by Aggrav8d
    So my question is: Did I miss something? There seem to be a number of indies out there who use OpenAL and don't have this problem.
    Yes:
    Code:
    List sources = new ArrayList(32);
    try {
    for (;;) {
    ALSource source = new ALSource();
    source.create();
    sources.add(source);
    } 
    } catch (OpenALException e) {
    // Ignore - created all sources we can
    }
    Cas

  16. #16
    Senior Member
    Join Date
    May 2005
    Location
    USA
    Posts
    3,634

    Default

    I know this is a strange question, but is that safe? It reminds me of the old Borland DOS extender that crashed once computers got fast enough that the speed tests would result in 0, thus creating a divide by zero error. Anyone know what I'm talking about?

  17. #17
    Senior Member
    Join Date
    Jul 2004
    Location
    Durham, UK
    Posts
    4,873

    Default

    Quote Originally Posted by soniCron
    I know this is a strange question, but is that safe? It reminds me of the old Borland DOS extender that crashed once computers got fast enough that the speed tests would result in 0, thus creating a divide by zero error. Anyone know what I'm talking about?
    This is the safe and accepted way to do it (although that's Java code there and wrapped up in my library classes, the basic logic is there: create as many sources as you can one at a time until you get an OpenAL error, which OpenAL specifies is what happens when you try to create too many sources).

    Cas

  18. #18
    Senior Member
    Join Date
    May 2005
    Location
    USA
    Posts
    3,634

    Default

    I guess what I'm asking is: Shouldn't you put some sort of ceiling in there? What happens if/when a driver will let you create more than a reasonable number of channels, perhaps due to a bug or "feature?" Value sound cards are increasingly software emulated and I wouldn't be surprised if some day a sound card will let you create as many "hardware" channels as the CPU allows. But in this case, you'd overload the system. I know it isn't your fault if that's the case, but isn't it just good programming habit to be respectful of potentially infinite loops or fatal system overloading?

  19. #19
    Senior Member
    Join Date
    Jul 2004
    Location
    Durham, UK
    Posts
    4,873

    Default

    Yeah, actually I limit my own games to 16 channels max But the pseudocode there is guaranteed to work because OpenAL sources are always hardware sources and you can bet there's a physical limit on them! They're like texture units in OpenGL.

    Cas

  20. #20
    Senior Member
    Join Date
    May 2005
    Location
    USA
    Posts
    3,634

    Default

    Quote Originally Posted by princec
    But the pseudocode there is guaranteed to work because OpenAL sources are always hardware sources and you can bet there's a physical limit on them!
    The reason I disagree is because my soundcard is fully emulated. It's about as simple as it gets: Output jacks and a small buffer -- the driver mixes everything in software. Because of this, there is no actual, physical channel -- the limit is embedded in the driver. I suppose I'm just incredibly wary of infinite loops. To each their own!

  21. #21
    Senior Member
    Join Date
    Sep 2005
    Location
    Citizen of the Universe
    Posts
    492

    Default

    Is it a motherboard with integrated audio?
    Greets,
    Fabio

  22. #22
    Senior Member
    Join Date
    May 2005
    Location
    USA
    Posts
    3,634

    Default

    Quote Originally Posted by Fabio
    Is it a motherboard with integrated audio?
    Of course!

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts