-
Notifications
You must be signed in to change notification settings - Fork 6
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
AudioUtil: Extracting all 999 BGM files together causes M02_BGM_D_02 to have mismatched instruments #36
Comments
Hi! Sorry for the delay with the reply. ^^; First, you did use that on Pokemon Mystery Dungeon Explorers of Sky/Time/Darkness, right? |
I meant the BGM files for the game 999: 9 Hours 9 Persons 9 Doors which your tool works with |
Oh.. Sorry, I didn't realize.. ^^; That's really interesting.. I wonder what this game does differently than the others.. Also, btw, did you notice any other issues with the output, when comparing the music with the original? |
Aside from the known PCM16-samples-being-too-high-pitched issue, there's also some sample distortion in at least one track (M05_BGM_E_01, it's about 5 seconds in but I'm sure you'll know when you hear it). |
Thanks! You're right its pretty obvious XD I think it might be the way I tried to interpret the LFO parameter by default. I attempted to handle some LFO parameters below the max oscillation frequency of the SF2 LFOs but, I'm pretty sure the way I interpret the depth parameter is completely wrong. It didn't show much with the PMD2 tracks, so I left it in. But, it can be disabled for now. If you put the "-nofx" option on the command line it should export it without that weird effect. About the the other track, its not just the LFO in this case. Because of the way the release parameter of a volume envelope works, I can't bake it into the sample to bypass the sf2 format's limitation of forcing logarithmic envelope curves. I wish I had more audio and audio math know-how. I've been asking around for a while and I couldn't seem to get much help with finding out what those values represents. Or how to convert them into something more usable. Disassembling the DSE engine doesn't really help much anymore because I don't know what I'm looking for in this case. |
-nofx did indeed fix the problem with the first track. Thanks. Also, perhaps you should seek the help of someone with the necessary know-how? |
Good! And, I tried on the HCS forums, and I got some help with a few things. But it seems the others weren't that sure either. Some offered help, but I haven't heard back. :/ Its probably because I'd need someone with experience to take a look at this. And people are probably busy with their own things. |
Extracting it by itself is fine, though. Also, this doesn't seem to affect any other tracks as far as I'm aware.
By itself:
test.zip
With m01_bgm_d_01 and m03_bgm_d_03 added in:
test2.zip
The text was updated successfully, but these errors were encountered: