Project

General

Profile

Actions

Emulator Issues #10205

open

Sound suffering from cracks since 3345

Added by ichttt over 7 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
% 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

Game Name?

All games

What's the problem? Describe what went wrong.

The sound cracks (the new audio stretching option doesn't affect it) in OpenAL mode. When switching to XAudio, everything is ok.
The dumped audio sounds alright though.

What steps will reproduce the problem?

Start any game while Audio-Backend is set to OpenAL.

Which versions of Dolphin did you test on? Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?

Build 3334 - everything working fine
Build 3345 - sound cracking

What are your PC specifications? (CPU, GPU, Operating System, more)
i7 4790K
AMD r9 390 with latest drivers
Windows 10 1607

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)

Audiodump and real sound attached


Files

Audiodump.7z (1.4 MB) Audiodump.7z Audiodump using the emulator feature (fine) ichttt, 04/12/2017 07:16 PM
real sound.mp3 (640 KB) real sound.mp3 Sound recoreded using audacity and virtual audio cable (not fine) ichttt, 04/12/2017 07:17 PM
Screen Shot 2017-04-12 at 20.36.31.png (54.8 KB) Screen Shot 2017-04-12 at 20.36.31.png Screenshot of Audio settings merry, 04/12/2017 07:36 PM

Related issues 2 (0 open2 closed)

Has duplicate Emulator - Emulator Issues #10257: Digimon World 4 audio stutter on OpenAL on Version 5.0-3345 and aboveDuplicate

Actions
Has duplicate Emulator - Emulator Issues #10704: Kirby 64: The Crystal Shards OpenAL Garbled AudioDuplicate

Actions
Actions #1

Updated by merry over 7 years ago

Have you tried increasing the Latency in the settings? (A value of 4 works on my machine.)

Note that since OpenAL no longer has audio stretching built-in the latency has reduced from previous builds.

Actions #2

Updated by ichttt over 7 years ago

merry wrote:

Have you tried increasing the Latency in the settings? (A value of 4 works on my machine.)

Note that since OpenAL no longer has audio stretching built-in the latency has reduced from previous builds.

Yes, but even setting it to 300ms didn't solve the problem. Note that I'm running full speed all the time

Actions #3

Updated by JMC4789 over 7 years ago

That's because they're separate latency values. One is just for OpenAL.

Actions #4

Updated by merry over 7 years ago

The Latency option can be found under Backend Settings, refer to the attached picture.

Actions #5

Updated by ichttt over 7 years ago

merry wrote:

The Latency option can be found under Backend Settings, refer to the attached picture.

woops, helps if you can read I guess. Fixed it, can be closed.

Actions #6

Updated by JMC4789 over 7 years ago

Actually I'm willing to keep this open until the old latency option is removed; it's no longer needed.

Actions #7

Updated by JosJuice over 7 years ago

  • Milestone set to Current
  • Relates to usability changed from No to Yes
Actions #8

Updated by JosJuice over 7 years ago

  • Milestone deleted (Current)
  • Relates to usability changed from Yes to No

Actually, nevermind, I'm not sure what's appropriate to tag this issue with

Actions #9

Updated by mstreurman over 7 years ago

I have the same issue on my machine, but unlike ichttt mine doesn't change when I change the latency. Xaudio works flawlessly but I'd like to be able to use OpenAL just because I think I'd rather use open source stuff (plus when I'm on my home computer my X-fi actually offloads the soundprocessing to the sound card. (up to 2-3% less cpu usage)

Actions #10

Updated by JosJuice over 7 years ago

  • Has duplicate Emulator Issues #10257: Digimon World 4 audio stutter on OpenAL on Version 5.0-3345 and above added
Actions #11

Updated by ZephyrSurfer about 3 years ago

5.0-3334 works as expected
5.0-3345 broken (crackling audio)

OpenAL used to work pretty well considering it's low latency at "2" on this old build (5.0-3334). Pitch-Preserving Audio Stretching(5.0-3345) was introduced and caused a lot of crackling audio in games if OpenAL is used.

Later Dolphin would increase the default latency to 20, but the value isn't enough for all titles, some games will require latency set to "30" to solve the crackling audio now. This is not the correct solution but a rubber band though.

I tested the various soft OpenAL versions and found some versions don't produce crackling in these same games that aren't working with the newer default of 20, even without altering the latency. Soft OpenAL versions 1.16 through to 1.19.1 don't produce any crackling when replacing Creative Labs OpenAL 1.1 for some reason. But versions before (1.15, tested it's the first 64 bit DLL binary provided) and newer versions 1.20 until now are problematic.

Actions #12

Updated by Billiard26 8 months ago

Actions

Also available in: Atom PDF