Project

General

Profile

Actions

Emulator Issues #3447

closed

Spiderman Shattered Dimensions / Star Wars The Force Unleashed 2 - DSP HLE gives slow-sounding audio

Added by gabrielmorano over 13 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
DSPHLE
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What steps will reproduce the problem?

  1. Open "Spiderman Shattered Dimensions" or "Star Wars The Force Unleashed 2"
  2. Get in game (FMV's does not count as there is sound there, it's gotta be actual gameplay to be noticiable)
  3. On "Spiderman" you will notice there is no sound at all, no narrations, no music, no sound effects. On "Star Wars" you will notice that there are several sound problems (you will hear the music fine, but the voices tends to go wrong like if turn the pitch all the way down, and barry white's started doing the dialogs :p ... or the voices will be completedly absent)

What is the expected output? What do you see instead?
Well it's not the only 2 games i found out that have audio problems, just that is are the most noticiables I can remember.

What version of the product are you using? On what operating system?
6338 x32 x64
Intel(R) Core2Duo 2.53 2gb
GeForce 8400 gs 512
windows7 x64


Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #5509: Fatal Frame 2 and other games, problem's CG scenesDuplicate

Actions
Actions #1

Updated by skidau over 13 years ago

  • Category set to dsp
Actions #2

Updated by EmanModnar over 13 years ago

The problems you mention with Force Unleashed II are the same problems I have seen in the BMX GC games. The DTK Audio runs fine, but the rest runs at a reduced rate. Based on the Frame Rate indicators when Audio Throttle is on, it appears to be playing at about 66% of the real rate. In other words, about 32kHz instead of the recorded 48kHz.

It seems to me that up-sampling and down-sampling are being done improperly with these games. In other words, sounds that are meant to be played back at the higher speed seem to be played back at the lower speed without being resampled at all. Somehow, this doesn't seem to affect DTK Audio. Seeing as how my coding skills are nearly non-existent, I can only guess at how the functions are working.

I had hoped that the recent changes to audio rate selection and up-sampling would solve this, but it hasn't yet. Admittedly, though, I haven't tried the last couple revisions yet.

Actions #3

Updated by skidau over 13 years ago

If you know how to change code, try this test:

In Source/Core/Core/Src/HW/AudioInterface.cpp, Callback_GetStreaming

Comment out:
_numSamples = _numSamples * 3 / 2;

So that it looks like:
// _numSamples = _numSamples * 3 / 2;

Actions #4

Updated by EmanModnar over 13 years ago

Sorry it took so long to get to this. I've been relying on mamario's builds so far and had to set up VCExpress. (Which I'd been meaning to do for a while...)

The change you suggested didn't have any effect on the output. Audio Throttle still keeps the speed locked to 66%, and the sounds themselves play about that speed, except for the DTK music.

Actions #5

Updated by gabrielmorano over 13 years ago

Reporting that issue remains the same on r6880

Actions #6

Updated by gabrielmorano over 13 years ago

issue remains on r6907

Actions #7

Updated by LM1234 about 13 years ago

for "audio is to slow" games try this patch
but there are probably other problems caused by this + we are near release so i'm
not touching mixer (it was tested and working with "All Star Baseball 2004" and
playing xvids/mp3s via WiiMC (wii media player) -> LLE/48kHz)

Actions #8

Updated by Anonymous about 13 years ago

  • Issue type set to Other
Actions #9

Updated by EmanModnar almost 13 years ago

Tested the patch, and it improved the video playback in the BMX games, but the in-game voices, menu background music, and sound effects are still too slow. :/

Actions #10

Updated by LM1234 almost 13 years ago

  • Issue type changed from Other to Other
Actions #11

Updated by gabrielmorano almost 13 years ago

it's basically the same as b4 ... none real time movies or in game sounds changed :(

Actions #12

Updated by EmanModnar almost 13 years ago

Hmm. Just compiled r7539. Somehow, it's working now. Not sure if it was the patch by itself, the most recent change to the HLE side of things, or the combination of the two, but it is working for everything now in the BMX games.

Actions #13

Updated by EmanModnar almost 13 years ago

Ookay... I just tested r7514 from mamario's site, and it is working there too? I stand totally confused...

Actions #14

Updated by gabrielmorano almost 13 years ago

try to test it with games like fatal frame 4... wich tends to have the audio first and the video after
also it's super noticiable on no more heroes 2

if you want to hear barry whites try the force unleashed 2 :p

Actions #15

Updated by EmanModnar almost 13 years ago

Hmm. After further testing, the changes in r7511 appear to have fixed the BMX games. I'm not sure about any of the other games listed, as I do not have access to those.

Actions #16

Updated by paavolah over 12 years ago

I'm not sure how to get my hands on the patch. Can't see any link here. Can you help me please?

I would love to test it for TV Show King 2 slowdowns, which still occure after many many revisions later (from 7511).

Actions #17

Updated by paavolah over 12 years ago

I'm not sure how to get my hands on the patch. Can't see any link here. Can you help me please?

I would love to test it for TV Show King 2 slowdowns, which still occure after many many revisions later (from 7511).

Actions #18

Updated by Anonymous almost 12 years ago

Issue 5509 has been merged into this issue.

Actions #19

Updated by Billiard26 over 11 years ago

  • Status changed from New to Questionable
  • Issue type set to Bug

Is the issue present in Dolphin 3.5?

Actions #20

Updated by gabrielmorano over 11 years ago

I was not testing this for a while, as soon as i get out of work i will chet it and comment

Actions #21

Updated by Billiard26 about 11 years ago

So.. Is this issue present in 3.5? :p
And is it present when using DSP LLE?

Actions #22

Updated by gabrielmorano about 11 years ago

Im downloading the game, lost the dvd where it was ^^'
will tell you at night

Actions #23

Updated by gabrielmorano about 11 years ago

sorry for the delay

Still Remains for HLE
LLE seems to be working

Actions #25

Updated by Billiard26 about 11 years ago

  • Category changed from dsp to dsphle
Actions #26

Updated by delroth about 11 years ago

Could you test 3.5-1155 and report if the bug is fixed or not?

Actions #28

Updated by skidau almost 11 years ago

  • Status changed from Questionable to Fixed

Both games are fixed in DSP HLE mode (3.5-1344 tested).

Actions

Also available in: Atom PDF