Surround sound support
-
- Private First Class
- Posts: 14
- Joined: Tue Dec 20, 2005 7:02 pm
Surround sound support
It's really about time this game had surround sound support.
What do you guys think?
What do you guys think?
Last edited by Dylan Sunderberg on Sun Sep 23, 2012 12:43 am, edited 3 times in total.
- Spazzy McGee
- Sergeant Major
- Posts: 1405
- Joined: Mon Mar 21, 2005 4:59 pm
- Location: Planet MoFo, Sheffield Division; United Kingdom
-
- Private First Class
- Posts: 14
- Joined: Tue Dec 20, 2005 7:02 pm
Seriously, is there any talk of getting it in an upcoming client? Truly, I can't think of a proposal for enhancing BZFlag better than one for adding surround sound to it...
...except for the usual yada, yada, yada of "Add more special effects, high resolution textures, high-poly models, etc." We've heard such ideas enough times!
...except for the usual yada, yada, yada of "Add more special effects, high resolution textures, high-poly models, etc." We've heard such ideas enough times!
Last edited by Dylan Sunderberg on Sun Sep 23, 2012 1:07 am, edited 4 times in total.
doing surround sound in a cross platform system is not easy. I've researched it. The libs that allow it are not open source. On windows it's not bad if you replace all the internal sound stuff with direct sound calls. but on linux and the mac, there are no real system APIs for 3d sound, so you'd have to write stuff for specific hardware.
JeffM
- Trucker Tricker
- Private First Class
- Posts: 28
- Joined: Mon Jan 31, 2005 5:44 am
- Location: Washington, U.S.A.
-
- Private First Class
- Posts: 14
- Joined: Tue Dec 20, 2005 7:02 pm
OpenAL is a cross-platform, open-source library that supports surround output (see http://www.openal.org/).doing surround sound in a cross platform system is not easy. I've researched it. The libs that allow it are not open source. On windows it's not bad if you replace all the internal sound stuff with direct sound calls. but on linux and the mac, there are no real system APIs for 3d sound, so you'd have to write stuff for specific hardware.
Last edited by Dylan Sunderberg on Sun Sep 23, 2012 12:32 am, edited 2 times in total.
Open AL is cross plat, and does have it's own 3d sound engine, but does not ( as of last time I checked ) support surround sound output on non windows systems, it jus does it's own mixing down to 2 speakers, just like bzflag does. If they have added support for that then it is probably a good choice for it, and somone would just have to replace the sound system with it, asuming everyone is ok with it being a new dependency. But I didn't see anything about surround sound, dolby encoding, or anything like that in the docs.
JeffM
-
- Private First Class
- Posts: 14
- Joined: Tue Dec 20, 2005 7:02 pm
Unless my understanding is completely wrong, you don't need to use Dolby encoding or anything similar to obtain surround sound with OpenAL.dolby encoding
Last edited by Dylan Sunderberg on Sun Sep 23, 2012 12:35 am, edited 2 times in total.
if it supports 4 speakers and does real positioning, then that's cool. I didn't see anything for that when I skimmed the docs. There was nothing in the init stuff that showed it using 3d sound hardware ( do any of the linux sound APIs use 3d hardware? ). But maybe I missed it.
dolby was just an example. many surrond systems use a dolby encoder on the card and it goes to an external speaker/amp setup. On windows with direct sound, this is all abstracted.
as for just mixing down to 2 speakers, bzflag does that type of 3d sound allready.
I'd be interested to know what sound system is being used on your linux setup, and if it's doing mixing down to 2 speakers or 4. You could have a sound go off behind you and see if it sends the sound out just the rear speakers.
dolby was just an example. many surrond systems use a dolby encoder on the card and it goes to an external speaker/amp setup. On windows with direct sound, this is all abstracted.
as for just mixing down to 2 speakers, bzflag does that type of 3d sound allready.
I'd be interested to know what sound system is being used on your linux setup, and if it's doing mixing down to 2 speakers or 4. You could have a sound go off behind you and see if it sends the sound out just the rear speakers.
JeffM
-
- Private First Class
- Posts: 14
- Joined: Tue Dec 20, 2005 7:02 pm
I wouldn't consider my setup to be a true surround-sound one if it didn't!You could have a sound go off behind you and see if it sends the sound out just the rear speakers.
Last edited by Dylan Sunderberg on Sun Sep 23, 2012 12:39 am, edited 1 time in total.
-
- Private First Class
- Posts: 14
- Joined: Tue Dec 20, 2005 7:02 pm
Great, it looks like the developers have already thought of it: http://www.bzflag.org/wiki/WorkInProgress
Last edited by Dylan Sunderberg on Sun Sep 23, 2012 12:39 am, edited 1 time in total.
- The Knights Who Say Ni
- Private First Class
- Posts: 556
- Joined: Mon Sep 26, 2005 7:21 pm
- Location: Uplyme, England
- Contact: