libsd.irx?

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

User avatar
jbit
Site Admin
Posts: 293
Joined: Sat May 28, 2005 3:11 am
Location: København, Danmark
Contact:

Post by jbit »

Kojima wrote:And it appears to be a conversation issue as the adpcm is only 5mb. (The raw file produced by sox and the wav are both 20mb)
As I said before, this is normal, ADPCM is a compression format, so the output will be smaller, since it's compressed.

And the commands are wrong

Code: Select all

sox track1.wav -t raw -r 48000 -c 1 -w -s output.raw
Will produce a one channel PCM output (-c 1 means one channel). When the "-s" flag (stereo flag) is passed to ps2adpcm, two channels are required!

This should work fine:

Code: Select all

sox track1.wav -t raw -r 48000 -c 2 -w -s output.raw
ps2adpcm output.raw ntrack5.adpcm -s -c1024
By the way, I do have a tool called ps2conv which is much better than ps2adpcm when it comes to sound conversion, but currently requires quite alot. I might release a light version soon (like, today) if ps2adpcm/sox/etc is causing problems for people. (ps2adpcm/etc is an UGLY way of doing it, but it was the easiest and most portable at the time :)
Kojima
Posts: 275
Joined: Mon Jun 26, 2006 3:49 am

Post by Kojima »

Yeah that would be great, still playing 2x-3x higher than it should here.

Will you be releasing a pre-built version or will I need cyngwin?(Can't install it on my pc)
Post Reply