MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

gregf
Ramtek's Trivia promoter
Reged: 09/21/03
Posts: 8601
Loc: southern CA, US
Send PM
Re: Sinistar cockpit version
09/18/23 10:04 PM



> Thanks to hap, now it's possible to pan each speaker to the left, center or right.

Good to see more additional audio output configurations be possible for users to work with. I can see this feature likely being a future entry within the MAME FAQ sections.



*copied discussion from the link and added the discussion here for readers to look over.*


Fixed sinistarc audio routing and added comments #11497

https://github.com/mamedev/mame/pull/11497


synamaxmusic

I've been doing extensive research on this game since March of this year. As I mentioned in the last post of the previous pull request, it is apparent that the sound designer Mike Metz only used regular stereo audio, but placed the speakers in an unusual way (front = left, rear = right) to basically simulate a surround sound set up in the cockpit.

Yes, technically the cockpit speakers are in a center front and rear placement but the current routing to these center speakers completely ruins the stereo separation effect. The code is essentially mixing down the two stereo audio channels and duplicating the sound in both speakers. Therefore the logical routing should be left/right. Routing left/right audio to two center speakers invalidates all the hard work and research I put in getting this to work.

Here's a video that I made a while back where I simulated the stereo sound before writing this code. After a few seconds of gameplay, you can hear just how much more impressive the explosions are with this. In the current code, they're in mono and are notably distorted.

happppp

I added user configurable speaker panning. It's per-speaker, IMO it would be even nicer if it was per-channel like the volume sliders but that's more work (eg. change mono games to stereo).

The sinistarc speaker configuration is front/rear as how it was in the cab. If the user wants to change it to left/right, they can do so in the sliders menu.

synamaxmusic

Thank you for your work on this, hap. This is a much more acceptable solution.







Entire thread
Subject Posted by Posted on
* Sinistar cockpit version *edit* gregf 08/02/23 05:01 PM
. * Re: Sinistar cockpit version ICEknight  09/09/23 12:22 AM
. * Re: Sinistar cockpit version ICEknight  09/12/23 04:53 PM
. * Re: Sinistar cockpit version gregf  09/18/23 10:04 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
1 registered and 233 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 359