I also wonder if anybody tried to use latest mikmod builds lately?
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.
I also wonder if anybody tried to use latest mikmod builds lately?
NO MORE SARCASM, JUST STRAIGHT CAPS FACTS.
this is sparta!!!!
yeah But
OpenAL is Free
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...
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!!!!
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.
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.
Originally Posted by emuLynx
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.Originally Posted by RedKnight
Dave Freeman
Humanahaba
For ease of use, performance and capabilities, FMOD wins hands down IMHO. It's worth the $100 bucks for Indy developers.
Vorax Games | Blog: Nibble's and Bits
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.Originally Posted by Sega
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
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...![]()
"rudimentary" is the word I like most.Originally Posted by Sharkbait
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.
As I said, I only need streaming. WDM Kernel Streaming is what I use on Win2000+, it's very efficient and low-latency.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!
Thanks for the protective hint, dude.P.S. Fabio, stop complaining about Windows or you'll get a visit by MS 'Ndrangeta...![]()
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
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!
Yes:Originally Posted by Aggrav8d
CasCode: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 }![]()
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?
Daniel Kinney
solaristudios:. ● TIGRS - The Independent Game Rating System ● "Hard-Sell: The Only Sell"
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).Originally Posted by soniCron
Cas![]()
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?
Daniel Kinney
solaristudios:. ● TIGRS - The Independent Game Rating System ● "Hard-Sell: The Only Sell"
Yeah, actually I limit my own games to 16 channels maxBut 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![]()
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!Originally Posted by princec
![]()
Daniel Kinney
solaristudios:. ● TIGRS - The Independent Game Rating System ● "Hard-Sell: The Only Sell"
Is it a motherboard with integrated audio?
Greets,
Fabio
Of course!Originally Posted by Fabio
![]()
Daniel Kinney
solaristudios:. ● TIGRS - The Independent Game Rating System ● "Hard-Sell: The Only Sell"