forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

libsd.irx?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
jbit
Site Admin


Joined: 28 May 2005
Posts: 293
Location: København, Danmark

PostPosted: Mon Jul 03, 2006 12:47 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Kojima



Joined: 26 Jun 2006
Posts: 275

PostPosted: Mon Jul 03, 2006 1:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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