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: 384
Joined: Tue Sep 07, 2010 10:12 am
Has thanked: 138 times
Been thanked: 40 times

Decompress ADPCM to PCM?

Post by Devilot » Mon Jun 16, 2014 6:57 pm

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: 51
Joined: Mon Aug 02, 2010 4:11 pm
Been thanked: 2 times

Re: Decompress ADPCM to PCM?

Post by Liandril » Thu Jun 19, 2014 12:48 pm

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: 409
Joined: Mon Oct 27, 2008 12:11 am
Location: Slovakia
Has thanked: 35 times
Been thanked: 114 times

Re: Decompress ADPCM to PCM?

Post by merlinsvk » Thu Jun 19, 2014 1:30 pm

Try FFMPEG

Code: Select all

ffmpeg.exe -i ms_adpcm.wav pcm.wav

Devilot
ultra-veteran
ultra-veteran
Posts: 384
Joined: Tue Sep 07, 2010 10:12 am
Has thanked: 138 times
Been thanked: 40 times

Re: Decompress ADPCM to PCM?

Post by Devilot » Thu Jun 19, 2014 2:21 pm

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 » Thu Jun 19, 2014 7:40 pm

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: 51
Joined: Mon Aug 02, 2010 4:11 pm
Been thanked: 2 times

Re: Decompress ADPCM to PCM?

Post by Liandril » Thu Jun 19, 2014 11:20 pm

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: 384
Joined: Tue Sep 07, 2010 10:12 am
Has thanked: 138 times
Been thanked: 40 times

Re: Decompress ADPCM to PCM?

Post by Devilot » Fri Jun 20, 2014 8:29 am

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: 38 times

Re: Decompress ADPCM to PCM?

Post by Pepper » Fri Jun 20, 2014 4:46 pm

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 » Fri Jun 20, 2014 4:51 pm

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: 38 times

Re: Decompress ADPCM to PCM?

Post by Pepper » Fri Jun 20, 2014 11:41 pm

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 » Sat Jun 21, 2014 2:36 am

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: 86 times
Been thanked: 15 times

Re: Decompress ADPCM to PCM?

Post by SILENTpavel » Sun Jun 22, 2014 1:20 am

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: 384
Joined: Tue Sep 07, 2010 10:12 am
Has thanked: 138 times
Been thanked: 40 times

Re: Decompress ADPCM to PCM?

Post by Devilot » Mon Jun 23, 2014 8:27 am

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