Post Reply 
 
Thread Rating:
  • 1 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sound effect replacements
06-12-2016, 07:51 PM
Post: #1
Sound effect replacements
The PSP has lots of ways to output sound, but one that games typically use for sound effects is an ADPCM VAG. It's not very high quality, but it's simple. It's sometimes used for music, and usually used for sound effects.

It would be fairly easy to "replace" these, if people are interested. Replacing other audio (largely ATRAC3/ATRAC3+, video, or rarely MP3) is possible but more tricky. A few games also use PCM directly, which is rare but could also be replaced this same way.

The most trivial replacement implementation would:

* Save PCM s16le samples with hash filenames, like texture replacements.
* Read back in the same format for the replaced audio.
* Require the same length and loop settings.
* Expect the same bitrate as the source (e.g. 22/mono or whatever.)

A more advanced replacement implementation could:

* Use a different length and have tune-able looping (this means some replacements could break games and would need to be tested.)
* Potentially load from or even write to an encoded source, e.g. mp3.
* Allow stereo (definitely some complexity...)
* Allow 44.1k in the case of 22k/etc.

Does "sound effect replacement" sound interesting to people? How much would it be used and just how much would the more advanced things be used?

Note: applying the same things (like stereo) to ATRAC3 would be much more complex. But it is doable for VAG, so that's the only one I'm asking about.

-[Unknown]
Find all posts by this user
Quote this message in a reply
06-12-2016, 08:09 PM
Post: #2
RE: Sound effect replacements
Maybe replace some musics from better source (like some of the MHFU musics, God Eater 2 and God Eater 2 Rage Burst (the album is out, so yeah))

Old laptop: Lenovo G458
AMD/ATI Radeon HD 7310 | [email protected] | APU E1-1200 Dual Core | 2.5 GB DDR3 400MHz | Windows 7 Home Premium 32-bit

New laptop: Lenovo ideapad 100
Nvidia Geforce 920M 2GB / Intel HD Graphics 5500 | [email protected] | Intel Core i3-5005U 2GB | 2GB DDR3 2000MHz | Window 10 Home 64-bit
Find all posts by this user
Quote this message in a reply
06-12-2016, 09:05 PM
Post: #3
RE: Sound effect replacements
It would be pretty nice to replace some sound effects with higher quality version, or swapping the music of Freedom Unite with the nicer tracks of MH2, but i don't really see too many people using this feature.

(Now it would be amazing to have specular/bumpmapping for the texture replacement but i'll keep on dreaming for about 20 years.)
Find all posts by this user
Quote this message in a reply
06-12-2016, 09:59 PM
Post: #4
RE: Sound effect replacements
Well, replacing music can be a lot more tricky, although it may work for some games.

One difference (but not the only) with music is that games often "stream" music. This makes it hard to replace because the whole thing isn't available at once - and sometimes two music files can look identical until more of them play. In these cases, it would be easier to just rebuild the ISO with the new music files, and you get into some romhacking. Some games also hardcode the expected length of music.

Sound effects / VAG are simpler, because there's no way to stream, really. The whole thing is available at once, so it's easy to identify and differentiate.

I don't have it, but I highly doubt Monster Hunter uses VAG for its music.

As for specular/bumpmapping, well, I suppose that's possible as long as we don't need more vertex data. We'd have to shade differently, but theoretically as long as the assets were provided.

-[Unknown]
Find all posts by this user
Quote this message in a reply
06-13-2016, 11:23 AM
Post: #5
RE: Sound effect replacements
Cool stuff like always, through trying to think about games where low quality sounds were trully bothering me nothing comes to my mind. Guess after I gave up on using headphones for games I grew pretty high tolerance to 22KHz mono sound.

Looking what others would like to be using this aka something it wouldn't allow / music replacements, would probably be easier to just restore separate sound sliders, this time named correctly and maybe for every source instead of confusing "music" and "sounds" groups. I mean that's probably the only reason people even requests those sliders for ~ to disable in-game music and play their own. Sound menu is rarely ever used anyway so a bit of clutter there wouldn't hurt.

http://forums.ppsspp.org/showthread.php?tid=6594 - Custom PPSSPP Shaders!
http://forums.ppsspp.org/showthread.php?tid=3590&pid=117172#pid117172 - simple CE scripts to help creating CWCheats,
https://github.com/LunaMoo/PPSSPP_workarounds - CWCheat workarounds.
Find all posts by this user
Quote this message in a reply
06-15-2016, 01:14 AM
Post: #6
RE: Sound effect replacements
I think it will be great, if we can change some annoying sound with a different one, like some objects or music, like a weapon shoot sound or sword crash on enemy to a better one, I don't know if is hard to do so but certainly is a nice idea.
Visit this user's website Find all posts by this user
Quote this message in a reply
06-17-2016, 08:15 AM
Post: #7
RE: Sound effect replacements
By all means, if this is possible and you've the time and patience, do implement it, I for one will definitely tinker with changing the sound effects in quite a few games, likely there are more who would find this useful.

Laptop:________________________Desktop:
Windows 10 64-bit, 8GB DDR3 RAM | Windows 10 64-bit, 8GB DDR3 RAM
Intel® Core™i5-3337U 1,8/2.67ghz | Intel® Core™i5-4440 3,10ghz
RADEON HD 8730M 2GB__________| NVIDIA GTX 760 2GB
Visit this user's website Find all posts by this user
Quote this message in a reply
07-23-2016, 06:16 PM
Post: #8
RE: Sound effect replacements
I'd freaking love this if it gets implemented, finally will I get to replace the crunchy crappy sounds of games such as WWE All Stars, and change sounds to others that I like more. As FinalBlast said, please, if you can and you want to do it, do it.
Find all posts by this user
Quote this message in a reply
08-28-2016, 06:10 PM (This post was last modified: 08-28-2016 06:11 PM by Trokinos.)
Post: #9
RE: Sound effect replacements
That would be amazing to be able to replace sounds effects and musics by ones we would choose.
And indeed for games like WWE All Stars considering how garbage the sound work has been done on it on both psp and ps2, it would be great to use your own sounds selection.

So please, if you have the inclination and the patience, you'll make a lot of people happy if you can manage to make this work.
Find all posts by this user
Quote this message in a reply
09-05-2016, 07:30 AM
Post: #10
RE: Sound effect replacements
Any news on this? :o
Visit this user's website Find all posts by this user
Quote this message in a reply
09-05-2016, 03:20 PM (This post was last modified: 09-05-2016 03:22 PM by [Unknown].)
Post: #11
RE: Sound effect replacements
Well, everyone keeps answering "Yes, I would like to replace music." Music is the thing that wouldn't get replaced, at least in the vast majority of games. That you'd need to edit the ISO and potentially game code for.

I don't really relish the idea of tons of "Music replacement not working" complaints, issues, threads, etc. I realize it's confusing that there are two completely different subsystems for playing audio.

You can check your favorite game - watch the Debug Log. If it says "sceAtrac" anywhere in the log, you're virtually guaranteed that any music/voices cannot be replaced simply. In some cases you'll have to edit game code to change it (for example, in Trails in the Sky, this would be true iirc.)

VAG is used for short sound effects - that's why replacing can work. All of the sound effect is in memory at once. This is not true of music and voices, which are often "streamed", like Pandora (from the emulator's perspective, it might be coming from the UMD, the internet, anywhere - it's just streaming.) Pandora makes replacing things hard.

A very small number of games use VAG for music - I think they are ALL ports of PS1 games. It is very unlikely the game you want to replace music in uses VAG for music.

-[Unknown]
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: