Decompress ADPCM to PCM?

Get help on any and all audio formats, or chip in and help others!
Post Reply
Devilot
ultra-veteran
ultra-veteran
Posts: 436
Joined: Tue Sep 07, 2010 10:12 am
Has thanked: 159 times
Been thanked: 42 times

Decompress ADPCM to PCM?

Post by Devilot »

Is there a tool that can decompress adpcm files to pcm\wav?
I tried using MilesSoundTools, but it's too obsolete to recognize ADPCM.
Liandril
advanced
Posts: 55
Joined: Mon Aug 02, 2010 4:11 pm
Been thanked: 4 times

Re: Decompress ADPCM to PCM?

Post by Liandril »

I don't know any 'specific' tools (although I'm sure there are some), but a while ago, I simply used VLC to convert an ADPCM to PCM/wav.
merlinsvk
ultra-veteran
ultra-veteran
Posts: 411
Joined: Mon Oct 27, 2008 12:11 am
Location: Slovakia
Has thanked: 35 times
Been thanked: 121 times

Re: Decompress ADPCM to PCM?

Post by merlinsvk »

Try FFMPEG

Code: Select all

ffmpeg.exe -i ms_adpcm.wav pcm.wav
Devilot
ultra-veteran
ultra-veteran
Posts: 436
Joined: Tue Sep 07, 2010 10:12 am
Has thanked: 159 times
Been thanked: 42 times

Re: Decompress ADPCM to PCM?

Post by Devilot »

Liandril wrote:I don't know any 'specific' tools (although I'm sure there are some), but a while ago, I simply used VLC to convert an ADPCM to PCM/wav.
how?
User avatar
Vosvoy
veteran
Posts: 127
Joined: Fri Feb 18, 2011 4:58 pm
Has thanked: 15 times
Been thanked: 15 times

Re: Decompress ADPCM to PCM?

Post by Vosvoy »

Hi,

take a look a this: viewtopic.php?f=17&t=10685

Payday 2 ( for example ) use WWISE IMA_ADPCM i presume. There's many types of ADPCM formats if I'm not mistaken.

The conversion via VLC consists on a batch command file. You can learn more about VLC commands on Google.

Cordialy
Vosvoy
Liandril
advanced
Posts: 55
Joined: Mon Aug 02, 2010 4:11 pm
Been thanked: 4 times

Re: Decompress ADPCM to PCM?

Post by Liandril »

Vosvoy wrote: The conversion via VLC consists on a batch command file. You can learn more about VLC commands on Google.
You can do the conversion directly in VLC (v2.1.0), too. Open vlc, then
  • Media->Convert/Save
  • In the Open Media dialog, click on "add" to select the (ADPCM) file and choose "convert"
  • In the convert dialog, click the "edit profile" button and choose "wav" in the encapsulation tab and once again "wav" in the audio codec tab
  • choose destination file and press start
Devilot
ultra-veteran
ultra-veteran
Posts: 436
Joined: Tue Sep 07, 2010 10:12 am
Has thanked: 159 times
Been thanked: 42 times

Re: Decompress ADPCM to PCM?

Post by Devilot »

ahh. it's a Save as option. I thought it was an actual decompression..
Pepper
mega-veteran
mega-veteran
Posts: 278
Joined: Thu Apr 17, 2008 3:48 am
Has thanked: 47 times
Been thanked: 40 times

Re: Decompress ADPCM to PCM?

Post by Pepper »

Devilot wrote:ahh. it's a Save as option. I thought it was an actual decompression..
Well.. ADPCM compression is lossy.
it's not like a zip file where you can get back the original full quality file by unzipping it, decoding an adpcm file is like decoding an mp3, you'll always have some loss.
User avatar
Vosvoy
veteran
Posts: 127
Joined: Fri Feb 18, 2011 4:58 pm
Has thanked: 15 times
Been thanked: 15 times

Re: Decompress ADPCM to PCM?

Post by Vosvoy »

Pepper wrote:
Devilot wrote:ahh. it's a Save as option. I thought it was an actual decompression..
Well.. ADPCM compression is lossy.
it's not like a zip file where you can get back the original full quality file by unzipping it, decoding an adpcm file is like decoding an mp3, you'll always have some loss.
Yes it's true. When I decompressed sounds from Payday 2 I get a slight and hissy artefact in the sounds.
Vosvoy
Pepper
mega-veteran
mega-veteran
Posts: 278
Joined: Thu Apr 17, 2008 3:48 am
Has thanked: 47 times
Been thanked: 40 times

Re: Decompress ADPCM to PCM?

Post by Pepper »

Vosvoy wrote:
Pepper wrote:
Devilot wrote:ahh. it's a Save as option. I thought it was an actual decompression..
Well.. ADPCM compression is lossy.
it's not like a zip file where you can get back the original full quality file by unzipping it, decoding an adpcm file is like decoding an mp3, you'll always have some loss.
Yes it's true. When I decompressed sounds from Payday 2 I get a slight and hissy artefact in the sounds.
did you use vlc for that without using imarejigger first? payday and the sequel use audiokenetic adpcm, which doesnt always decode right unless you fix it with hcs's tool.
User avatar
Vosvoy
veteran
Posts: 127
Joined: Fri Feb 18, 2011 4:58 pm
Has thanked: 15 times
Been thanked: 15 times

Re: Decompress ADPCM to PCM?

Post by Vosvoy »

Pepper wrote:did you use vlc for that without using imarejigger first? payday and the sequel use audiokenetic adpcm, which doesnt always decode right unless you fix it with hcs's tool.
Huh... Yeah, but now I use a tool that I found on a website about Payday 2 modding (called wwise_ima_adpcm.exe). It convert WWise files to wavs. The hissy artefact is not very annoying anyway (it's kind of audible on shell casing and firing layers sounds, for example).
If I took this tool it's mainly because it was a pain in the ass to cut the .bnk files via HxD to have each sounds in this container (imagine: manualy cut about 2000 files, take you a goddamn time).
So, today I don't use ima_rejigger2+VLC anymore. The result is quite better and faster.

Cordialy
Vosvoy
User avatar
SILENTpavel
advanced
Posts: 54
Joined: Fri Aug 05, 2011 5:53 am
Has thanked: 87 times
Been thanked: 16 times

Re: Decompress ADPCM to PCM?

Post by SILENTpavel »

Devilot wrote:Is there a tool that can decompress adpcm files to pcm\wav?
I tried using MilesSoundTools, but it's too obsolete to recognize ADPCM.
try VGMToolbox + VGMstream and GENH format:
http://sourceforge.net/projects/vgmtoolbox/
http://sourceforge.net/projects/vgmstream/
http://hcs64.com/files/vgmstream_external_dlls.zip
Devilot
ultra-veteran
ultra-veteran
Posts: 436
Joined: Tue Sep 07, 2010 10:12 am
Has thanked: 159 times
Been thanked: 42 times

Re: Decompress ADPCM to PCM?

Post by Devilot »

SILENTpavel wrote:
Devilot wrote:Is there a tool that can decompress adpcm files to pcm\wav?
I tried using MilesSoundTools, but it's too obsolete to recognize ADPCM.
try VGMToolbox + VGMstream and GENH format:
http://sourceforge.net/projects/vgmtoolbox/
http://sourceforge.net/projects/vgmstream/
http://hcs64.com/files/vgmstream_external_dlls.zip
I already have VGMstream :D but I don't know how to use the others.
Post Reply