Emulator Issues #3023
closedDolby Pro Logic II sound support
0%
Description
What is the expected output? What do you see instead?
Dolby Pro Logic II surround sound support. Currently Dolphin only supports stereo.
Dolphin version with the problem? Other Dolphin version without the
problem?
Currently, no Dolphin version supports it.
32-bit or 64-bit and any other build parameters?
N.A.
OS version and versions of tools/libraries used?
Windows 7 x64
Please provide any additional information below.
From Rama2, SPU2-X sound author for PCSX2
"Whoever works on the sound emulation should look out for phase modifications.
DPLII stores most of the surround information via phase differentials."
Updated by cammelspit over 14 years ago
My pro logic 2 decoder built into my stereo makes the surround effects work just fine... Pro logic IS stereo just with the hidden ghost surround channels. http://en.wikipedia.org/wiki/Dolby_Pro_Logic U just have to use a pro logic receiver not just the PC speakers.
Updated by vadimurputi over 14 years ago
To cammelspit,
I have tested using optical out from my PC to my denon avr with PCSX2. DPL II works with games like RE4. At the very beginning of the game, stand in front of the fireplace in the house & turn around 360°. The sound effect is obvious.
However, when i tested the Wii's RE4 with dolphin with the same setup. DPL II is non-existant.
Btw, dolphin sound authors already admitted that DPL II isn't supported atm. Please refrain from commenting on your bullshit experience.
Updated by skidau about 14 years ago
Issue 3333 has been merged into this issue.
Updated by MofoMan2000 about 14 years ago
I've noticed that the audio plugin doesn't play surround sounds at all. It seems to work okay with the DSP-LLE plugin, but DSP-HLE doesn't support it. Tested with Super Mario Sunshine.
The thing with the "hidden ghost" channels is they aren't very well hidden, in that you can clearly hear them with a stereo system. The issue here is the HLE plugin isn't playing the surround sound at all, when L and R still work. It's like being deaf only to things behind you. This effect is easily observed while driving around in True Crime: Streets of LA.
Updated by danten81z almost 14 years ago
I've tested this with the Soul Calibur II audio option menu. The LLE plugin plays the surround channels with my receiver set to PLIIx, but it is extremely buggy and makes games unplayable. With the HLE plugin the surround channels are just repeated stereo channels. Thanks guys for your hard work, and I hope one day you will resolve this issue. Take care.
Updated by skidau almost 14 years ago
- Status changed from New to Fixed
Dolby Pro Logic II support is working fine with DSP LLE. Because of the way HLE works, it might not be possible to support surround sound. We'd either have to decode the stream or process the surround sound channels separately. Output would go to the PC's rear channels.
Closing this issue as it is no longer a bug - it works in DSP LLE and is unimplemented in DSP HLE.
Updated by MofoMan2000 over 13 years ago
I suggest this be reopened and merged into issue 4452. LLE is still slow, and HLE works quite well except for this and a few other things. Manually decoding the surround channels with HLE and sending them to the PC's rear speakers (via an ASIO driver or something?) would probably be preferable to outputting encoded Dolby surround in stereo via LLE in many cases.
Updated by skidau over 13 years ago
- Status changed from Fixed to Accepted
- Issue type set to Feature request
It is not exactly a problem with HLE, but more of a missing feature (software driven pro logic decoder). I'll reopen this and mark it as an enhancement.
Updated by TanukiTanuki13 almost 13 years ago
Is it even possible to have the LLE signal be software decoded? Like PowerDVD?
Many games have better emulation support with LLE and there are users with analog surround setups that do not have Dolby decoding support. Like myself.
Thanks.
Updated by skidau almost 13 years ago
- Status changed from Accepted to Won't fix
I searched for a open source DPL2 decoder and could not find one...
Updated by angeljrhodes about 12 years ago
This thread is getting confusing because people are talking about two different issues.
Dolby ProLogic II support and Dolby ProLogic II Decoding.
As mentioned above, DPII encoded tracks are encoded using "ghost" information stored in phase modifications. On a stereo setup, these modifications are ignored, or at least, imperceivable. If the track is output to a hardware decoder, such as an A/V receiver, the decoder uses this information to create a 5.1 listening environment.
To support this, Dolphin doesn't have to decode anything, just pass along the phase information. Right now the HLE isn't. Which means, even in games with DPII support, and using a DPII receiver, it doesn't work right.
This is different from Dolphin decoding DPII- where it actually does the sound processing and sends it to your speakers as multichannel audio. It would need a license for this, require a lot of work, and would only replicate a feature many sound cards have built in. I would think support would be more possible.
Updated by frischstephan about 12 years ago
JPCSP uses for ATRAC3 + sound a codec from SonicStage, is es not possible dolphin uses for Dolby Pro Logic II sound a external codec also.
there would be no free codec required
sorry for my bad englisch
Updated by skidau almost 12 years ago
- Status changed from Won't fix to Fixed
This issue was closed by revision 80f4475e76be.
Updated by vadimurputi over 11 years ago
I couldn't believed it, it finally arrived after more than 2 years.
I'm almost in tears....i mean i can finally play RE4 with zombies moaning behind my back, but sad to say it's not working quite right.
There are 5 distinct channels in DL II (excluding .1 which is the subwoofer) . After some testing with my own ears, i found that only the center channel is the most accurate. The front left & right channels were replicated to the rear channels while the rear channels were replicated to the front channels, it's quite messed up. There is overlapping in the rest of the 4 channels, it's not quite accurate & fixed yet.
As angeljrh mentioned, i hope skidau could just code the support part & let the rest handle by the hardware. Serious 'audiophiles' will have the equipment to decode the surround stuff.
Updated by skidau over 11 years ago
The DPL2 decoder is the same one that is used in ffdshow. It seemed to work pretty well for me in MKDD. Does RE4 have an option to enable "Surround" mode?
With the new AX HLE, DPL2 is correctly encoded in DSP HLE. DSP LLE always did encode the DPL2 correctly. This means that anyone with the appropriate hardware can appreciate DPL2 in Dolphin today. The decoder within Dolphin should be switched off with a hardware setup.
Updated by delroth over 11 years ago
HLE only correctly encodes DPL2 correctly on GC, not on Wii. According to his messages above he seems to be playing the Wii version of RE4.
Updated by vadimurputi over 11 years ago
After some more intensive testings, i can only say i got some surround sound in DSP LLE with DPL II decoder on, though it's not accurate. I got nothing with HLE & other options.
FYI, PCSX2 supports/decodes DPL II better. Do you think you can look into their codes?
Btw, I'm using a creative titanium card with dolby digital live on connected to a avr.
Updated by skidau over 11 years ago
Yeh, I was discussing the PCSX2 DPL2 decoder with giga and rama2 at the time I was coding this. Their DPL2 has been coded based what giga has worked out with some educated guesses. The ffdshow decoder code looks more accurate to me. Remember that some games have a surround option in their settings/option menu.
You may need to rename soft_oal.dll to OpenAL32.dll (even for 64bit builds) in your Dolphin folder. I was getting no surround sound until I did that on my machine.
Updated by vadimurputi over 11 years ago
Yes, i have checked the surround option, installed oalinst.zip, renamed to OpenAL32.dll, etc.
Both GC & Wii RE4 has DPL II, I have played them on console, so i know exactly how the surround sound suppose to sound like if it's correct. You should be able to tell if there's a racer behind your left back or right back if you are playing MKDD with DPL II.
I still thank you for looking into this issue, however, it should not be considered fixed. Yes, there's surround sound, but there's a distinctive surround left & right if it's correct.