Kermalis / VGMusicStudio

🎵 A program that lets you listen to the music from popular video game formats. 🎵
GNU Lesser General Public License v3.0
264 stars 32 forks source link

Pitch bending and PSG on some DS games are inaccurate #96

Open GallantArc302 opened 2 years ago

GallantArc302 commented 2 years ago

I don't see anyone mention these problems and it seems to only be happening with lesser known games

The PSG in Ace Attorney's music has very inconsistent volume. On BGM022 (Happy People) it's too quiet, but on BGM025 (Investigation ~ Opening) it's just fine. BGM005 also crashes the program There's also too much pitch bending sometimes. It's very noticeable in BGM_REMIX5 from Rhythm Heaven, ticks 4-6

Kermalis commented 2 years ago

Hey, sorry for the late reply. However I've known for a while that the pitch bending and LFO commands are using incorrect formulas. The exact ones are sort of a mystery, since most players will get SOME of it right and others wrong. Also the exact formulas are "known" but they don't always appear to work since they are so finnicky. I've tried a lot but it never ends up being exactly what we expect. So it'll take someone else to come in and research it and propose a solution

Also this is the case for pretty much any game in SDAT