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

Small noises/crackles with Sounds in Super Danganronpa 2 #5538

Closed
Fei-Lix opened this issue Feb 22, 2014 · 9 comments · Fixed by #5551
Closed

Small noises/crackles with Sounds in Super Danganronpa 2 #5538

Fei-Lix opened this issue Feb 22, 2014 · 9 comments · Fixed by #5551

Comments

@Fei-Lix
Copy link

Fei-Lix commented Feb 22, 2014

I think the sound effects noises was caused by the commit of "sas-minorMore exactness improvements for SAS and VAG" or between build 0.9.7.2-23 to 39?

I am not assuming but I think this commit. If I recall correctly, my last build I was using was build 0.9.7.2-20 or older without noticing the sound effects noises but after I downloaded the latest build: 0.9.7.2-57 that I started to noticed the sound effects noises.

UPDATE:

All sounds were affected by small noises/crackles. Voices and BGMs were unaffected(?)
@unknownbrackets
Copy link
Collaborator

I assume the noises are wrong. Is there a demo or anything they reproduce in? It'd help a lot if you could narrow it down to the first available-for-download build that sounded wrong, and the last one that sounded fine.

-[Unknown]

@Fei-Lix
Copy link
Author

Fei-Lix commented Feb 23, 2014

sorry there is no demo forthis game but ill try to narrow it down as soon as possible after I finishing my stuffs to do.

@Fei-Lix
Copy link
Author

Fei-Lix commented Feb 23, 2014

found the build where it started, it was build 0.9.7.2-32. I am unable to test specific commits from build 0.9.7.2-31 to 23 because it shows "No Build".

Here's my test results:
1.) The small noises/crackles in this game was noticable when a sound effect plays "ding!" (yes it is a high pitch sound) and the "Gloomy" sound effect.
2.) Sound effects sounds smooth, but dunno which original does. I'm unable to compare it to the real PSP since I don't have it anymore. Anyone please help if someone who still owns PSP and owns this game and test the sound effects?
3.) All sounds were affected by small noises/crackles including like "click" sound, "back" sound, "scroll down" sound, etc.
4.) I think the only were NOT affected was the voices and BGMs.

@unknownbrackets
Copy link
Collaborator

Okay, maybe someone has this to narrow down more than #5509, because that would help. And no other games reproduce this? The prequel or other games by the developer?

I was able to reproduce some problems but only in one game, and I fixed them by improving the resampling...

Would help to know what pitch values it's setting. You can try creating and log, and before hand going into developer tools and setting sceSas to debug.

-[Unknown]

@daniel229
Copy link
Collaborator

It is 1efcebb

@unknownbrackets
Copy link
Collaborator

Thanks, what pitch value is it setting though? Is it a high pitch (> 0x1000) or something?

-[Unknown]

@daniel229
Copy link
Collaborator

CRI Server M D[SCESAS]: HLE\sceSas.cpp:286 sceSasSetPitch(08cf26c0, 6, 1486)

@unknownbrackets
Copy link
Collaborator

Hmm. That's actually a low pitch (1486 decimal, less than 4096), which is what most games use...

It may use a ton of different pitch values.

I just tried forcing that one for a few games, but all of them sounded fine. By the way, let me tell you, Lumines sounds pretty funny with all the background effects slowed down.

-[Unknown]

@solarmystic
Copy link
Contributor

I'm glad this issue report has been opened, because I think it's affecting Valkyria Chronicles 3 too.

Git bisect revealed that the responsible commit is also 1efcebb.

Easiest way to detect it in this specific game would be to mute BGM in the game options and compare the "confirmation" SFX in the Main Menu that you can hear after selecting options.

It's quite subtle, and requires headphones and/or a quiet environment to pick up, which is why I thought I was imagining things at first. Until I ran both affected/unaffected builds side by side.

BGM and PC/NPC voices are also not affected in this game.

Some pitch values set from Debug Log Console:-

Odin_Main    D[SCESAS]: HLE\sceSas.cpp:276 sceSasSetPitch(08d79740, 0, 1024)

Odin_Main    D[SCESAS]: HLE\sceSas.cpp:276 sceSasSetPitch(08d79740, 0, 2048)

Rest of log with only sceSAS set to Debug:-
https://gist.github.com/solarmystic/9167548

Videos showing the difference in audio (BGM has been muted from both in the options to make it easier to focus on the SFX only)

Problematic build (notice the additional scratchy noise that accompanies each instance of the the SFX):
https://www.mediafire.com/?4048aua9tnv313b

Previously "correct" sounding build (cleaner SFX):
https://www.mediafire.com/?aei2o1tbnn7fdfr

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

Successfully merging a pull request may close this issue.

4 participants