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 

ADPCM format specs? Examples?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
Kojima



Joined: 26 Jun 2006
Posts: 275

PostPosted: Sun Jul 02, 2006 4:32 pm    Post subject: ADPCM format specs? Examples? Reply with quote

I wish to make a wav/ogg to ps2 adpcm windows tool but I'm not sure about the format. (There are so many adpcm varients)

Is it just raw audio data? Is there any tool I can use to see the data visually?(Not a wave form, something like a hex editor, but in english. I hate Hex.)
Back to top
View user's profile Send private message
Kojima



Joined: 26 Jun 2006
Posts: 275

PostPosted: Sun Jul 02, 2006 4:50 pm    Post subject: Reply with quote

btw I'd appreciate (But understand if you can't be arsed :) ) if someone could fill in the blanks to this psudeo code so I can understand it.

Code:


function WriteHeader(stream)
      writeint stream,adpcm_header
      //etc
end function

function WriteRaw(stream)
    for(int i = 0 ; i<Sample_Length ; i++ )
    {
            WriteInt/Short Stream,SampleRaw[i]
    }
end function

stream = Writefile("MySample.adpcm")
writeheader(stream)
writeRaw(stream)



Thanks if you can help. I plan to release the tool for everyone to use.
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
Page 1 of 1

 
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