Skip to content

Custom music (using sceMp3) sometimes plays at the wrong pitch #20250

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

Open
5 tasks done
Jack54guythecoder opened this issue Apr 13, 2025 · 4 comments
Open
5 tasks done
Labels
MP3 Issue involves sceMp3 features.
Milestone

Comments

@Jack54guythecoder
Copy link

Game or games this happens in

Ultimate Board Game Collection (Europe)

What area of the game / PPSSPP

The game has a CUSTOM SOUNDTRACK Feature, however, when you decide to use it with some of your songs, it works in a wonky way

ULES01017_2025-04-13_16-37-01.zip

Heres the ingame result, i will also provide some of the songs i have used:

Image
I can not upload the songs themselves, because it takes a while.
01 - Worms 3D Fanfare Title Theme

  1. 3D Hopper - Title Screen
  2. Build a Trail
  3. Confidential Money PSP Track 4

What should happen

Audio playback should be normal

Logs

No response

Platform

Android

Mobile device model or graphics card (GPU)

Release CPU: GenuineIntel ABI: x86-64 OS: Microsoft Windows 10 (x64) 10.0.19041 Page Size: 4096 bytes RW/RX exclusive: No 3D API: Vulkan API version: 1.3.0 Device API version: 1.3.260 Vendor: NVIDIA VendorString: NVIDIA GeForce RTX 3050 Laptop GPU Driver: 546.80.0.0 Depth buffer format: D24_S8 Refresh rate: 60.00 Hz

PPSSPP version affected

v1.18.1-1695-gedf2975a2c

Last working version

No response

Graphics backend (3D API)

Vulkan

Checklist

  • Test in the latest git build in case it's already fixed.
  • Search for other reports of the same issue.
  • Try resetting settings or older versions and include if the issue is related.
  • Try without any cheats and without loading any save states.
  • Include logs or screenshots of issue.
@hrydgard hrydgard added the MP3 Issue involves sceMp3 features. label Apr 14, 2025
@hrydgard
Copy link
Owner

hrydgard commented Apr 14, 2025

Don't have this game but I've been using Wipeout Pulse instead to test MP3 playback:

  • Confidential Money 04.mp3 - Plays distorted and at a completely wrong pitch, it's a 22khz song.
  • Worms 3D fanfare: Plays fine as far as I can tell
  • louvre Main Menu.mp3: Wrong pitch, it's a 32khz song
  • 3D Hopper: Plays at a noticably wrong pitch. It's a 48khz song

Well, the conclusion is simple - our mp3 player needs to have built-in sample rate conversion, since it seems the game isn't taking care of this during playback.

Did a quick attempt at implementing this but it ended up a bit too complicated - leaving it for 1.20.

@hrydgard hrydgard added this to the v1.20 milestone Apr 14, 2025
@hrydgard hrydgard changed the title Ultimate Board Game Collection (Europe) plays custom music at a low BPM, messed up or with an incorrect pitch Custom music (using sceMp3) sometimes plays at the wrong pitch Apr 14, 2025
@Jack54guythecoder
Copy link
Author

So this will be fixed by the time 1.20 comes around, right?

@hrydgard
Copy link
Owner

Tagging it for 1.20 means that I'll take a look at it during the release process for 1.20. So, probably, unless there's some complication making it even harder than expected, in which case I might deprioritize it.

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

No branches or pull requests

2 participants