 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
jbit Site Admin

Joined: 28 May 2005 Posts: 293 Location: København, Danmark
|
Posted: Mon Jul 03, 2006 12:47 am Post subject: |
|
|
| 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: | | 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: |
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 :) |
|
| Back to top |
|
 |
Kojima
Joined: 26 Jun 2006 Posts: 275
|
Posted: Mon Jul 03, 2006 1:39 am Post subject: |
|
|
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) |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|