Page 1 of 1

ADPCM format specs? Examples?

Posted: Sun Jul 02, 2006 4:32 pm
by Kojima
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.)

Posted: Sun Jul 02, 2006 4:50 pm
by Kojima
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: Select all


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

function WriteRaw(stream)
    for&#40;int i = 0 ; i<Sample_Length ; i++ &#41;
    &#123;
            WriteInt/Short Stream,SampleRaw&#91;i&#93;
    &#125;
end function

stream = Writefile&#40;"MySample.adpcm"&#41;
writeheader&#40;stream&#41;
writeRaw&#40;stream&#41;

Thanks if you can help. I plan to release the tool for everyone to use.