xenia-project / xenia

Xbox 360 Emulator Research Project
https://xenia.jp
Other
8.12k stars 1.12k forks source link

[APU] Sounds don't loop seamlessly #1515

Open JoelLinn opened 4 years ago

JoelLinn commented 4 years ago

Looped sounds have a short interruption. Confirmed for rain in Red Dead Redemption and engine sounds in Midnight Club: Los Angeles.

These should play seamlessly. My vague guess is that the XMA codec implementation doesn't handle this correctly.

illusion0001 commented 4 years ago

Same issue for Engine sounds in Grand Theft Auto IV

Thomas-Geraghty commented 3 years ago

Same issue with looping sounds exists on Geometry Wars 2

Raijin56 commented 3 years ago

Is there some solution to this? I'd love to play RDR in Xenia but at least for me this bug makes it unplayable being sound so fundamental ☹️

Sterophonick commented 3 years ago

In games such as Alien Hominid HD and Pinball FX, audio looping doesn't even work at all. :/

JoelLinn commented 3 years ago

Is there some solution to this? I'd love to play RDR in Xenia but at least for me this bug makes it unplayable being sound so fundamental

How does it make it unplayable? I played through it and apart from rain and car sounds there where zero issues with sounds.

Raijin56 commented 3 years ago

Is there some solution to this? I'd love to play RDR in Xenia but at least for me this bug makes it unplayable being sound so fundamental

How does it make it unplayable? I played through it and apart from rain and car sounds there where zero issues with sounds.

Try to play the game with an emulator of the PS3 version. You'll notice the difference quickly in the starting screen. Or see a video in YouTube of the Xbox version instead. You'll notice how full of ambient sounds the game is, and Xenia unfortunately don't play them correctly, it seems like they start and immediately shut off because they don't loop correctly.

JoelLinn commented 3 years ago

Is there some solution to this? I'd love to play RDR in Xenia but at least for me this bug makes it unplayable being sound so fundamental

How does it make it unplayable? I played through it and apart from rain and car sounds there where zero issues with sounds.

Try to play the game with an emulator of the PS3 version. You'll notice the difference quickly in the starting screen. Or see a video in YouTube of the Xbox version instead. You'll notice how full of ambient sounds the game is, and Xenia unfortunately don't play them correctly, it seems like they start and immediately shut off because they don't loop correctly.

I'm sorry I can't really make out a significant difference. https://www.youtube.com/watch?v=T5G-xELA6EA& When did you last check? There was an issue with the clock that had the sounds immediately stop if played at all, just how you described. But that I fixed ages ago.

fuhuan416 commented 3 years ago

Tekken 6 BGM same, but sound effect heards normal.

Raijin56 commented 3 years ago

I would like to share some samples of the problem with the audio loops in ambient sound.

Wind: https://youtu.be/fF-aBjFtksI Water: https://youtu.be/3iQJaK3Kh9Y Rain: https://youtu.be/O-sU6NP-DWE Cricket: https://youtu.be/8235rNSJ48k

Hope it's useful. Kind regards!

TafferKing451 commented 3 years ago

Many of the looping ambient sound effects in Condemned 2: Bloodshot abruptly end after one loop. Likely the same cause as the issues in this ticket.

Gliniak commented 1 year ago

Seems like this issue should be resolved since #1808. Can someone additionally confirm it before I close it?

SanfordJMorgan commented 1 year ago

No, the problem still remains in Condemned: Criminal Origins.