PS2 ADPCM Offset Problem (Crackling Noise) by Mygoshi at 6:30 AM EDT on October 23, 2016
Ok, so I extracted an archive called "soundstr.pkg" from Destroy All Humans 1 on PS2. After that, I obtained a lot of PS2 ADPCM files. There is a problem though, I can play the files right but with crackling noise, so I'm assuming it's a problem of offset. Here's what I know about the sample I will provide :
Format: Playstation 4-Bit Adpcm Channels: 2 (Stereo) Frequency: 44100 Hz Interleave: 0x8000 (32768) Offset: I don't know. I did some testing by eye-method on a Hex Editor, but I can't find the right offset.
Here's the link of the file: https://mega.nz/#!i4VFxaID!ohRze2N4V6mIGA7bDsjRB0D4XRpR76zCYJEjpUn0gbc
Anyway, it looks like the file is misaligned. Maybe whatever you used to extract it did so improperly? You need to add 16 zero bytes to the start of the file. The header skip/offset values should just be 0/unspecified.
I knew when I noticed that the second channel (at offset 0x7FF0) starts with 16 zero bytes, but the first channel (at offset 0) didn't. Also, Sony ADPCM typically does. So.. yeah, np.