Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Earthworm Jim - Samples play at the wrong pitch #18

Closed
BlastBrothers opened this issue Feb 17, 2024 · 3 comments
Closed

Earthworm Jim - Samples play at the wrong pitch #18

BlastBrothers opened this issue Feb 17, 2024 · 3 comments

Comments

@BlastBrothers
Copy link

Every audio sample in the game plays too slowly. Noticeable as soon as the Sega logo.

Couldn't find a real hardware video, but this emulator capture seems about right: Video

This also affects Earthworm Jim 2, and probably other GEMS games?

@RealMalachi
Copy link

Ah I see this was already reported a while back
GEMS times sample playback using YM Timer A, a built-in timer that the YM2612 has, which I presume is being emulated slower then intended. Naturally, this makes the samples play back slower. XGM2 and all of Siks sound drivers also relies on it for the same reason, which is how I initially learned of this issue.

Other known effected games; voice samples help a lot with things like these:

  • Comix Zone (GEMS-custom)
  • Mortal Kombat 3 (GEMS-custom)
  • Arkagis Revolution (Echo) - this game has pretty lengthy voice acting.
  • Akira Prototype (GEMS?)
  • Toy Story (GEMS) - excluding the .MOD player

@Clownacy
Copy link
Owner

That helps a lot, thank you. I did recently notice that the timers are handled in a really goofy way in this emulator, so fixing that could be what finally fixes this issue!

@Clownacy
Copy link
Owner

0769d1b fixes the samples on the Sega screen, and I presume the rest of the game. Please reopen this if the problem persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants