libretro / neocd_libretro

Neo Geo CD emulator for libretro
Other
61 stars 35 forks source link

Sound effects occasionally don't play or are glitched in Neo Turf Masters #28

Open cnrm opened 4 years ago

cnrm commented 4 years ago

This is most easily reproducible by loading the attract mode ("DEMONSTRATION" in the main menu) but seemingly happens in other areas too. CD audio is unaffected.

The "ANNOUNCEMENT" in-game option is turned on for good measure; when it's set to off, sound effects are properly disabled after starting a game.

Tested with Redump-verified bin+cue dump: http://redump.org/disc/66256/


Expected behavior

https://streamable.com/l8vff

No sound effects at all

https://streamable.com/ia3l2

Glitched audio

Sound effects sometimes play back prematurely or are cut off early.

https://streamable.com/as932

https://streamable.com/wkt3m

https://streamable.com/3mkn1

fabrice-martinez commented 4 years ago

Thanks for this detailed report. I know Metal Slug 2 has issues too.

fabrice-martinez commented 3 years ago

Tried various things but it's still unresolved. I might have to make a retroarch front-end with integrated debugger to see what is happening exactly.

gouchi commented 3 years ago

I might have to make a retroarch front-end with integrated debugger to see what is happening exactly.

@fabrice-martinez you may check Leiradel's project ;)

fabrice-martinez commented 3 years ago

@gouchi This looks very useful, thank you!

riggles1 commented 2 years ago

Tried a redump from 2021-06-13, sound effects work still after several holes (I was able to reproduce this with a different dump before).

fabrice-martinez commented 2 years ago

Thanks for the report. At this point I have spent many hours looking at the code and I don't see any obvious error. Going to have to write a debugger for this.

riggles1 commented 2 years ago

Thank you for looking into it, Windjammers is having this problem for me. Sound effects rarely play back, they come back for a few seconds, then stop working the next few.

Catarax commented 1 year ago

Here's the fix! Using an old build!

For windows : https://www.mediafire.com/file/5istc8xt235nghw/neocd_libretro.dll/file

Windjammers has all sound effects in game (NEOCD 2019)

NEOCD 2022 has no sound effects during gameplay

riggles1 commented 1 year ago

Going to give this a try, hope whatever caused the regression can be implemented as a fix for the new one! Thanks!

riggles1 commented 1 year ago

Doesn't work for me, both chd and a cue sub img ccd dump (plays perfectly with FBN). Sound effects cut short, like "on the gree" and other voice clips, sometimes other sound effects don't play like the putting club hit, it's very random.

petran79 commented 5 months ago

Same issue in Street Hoop. Old build above solved it