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.)
ADPCM format specs? Examples?
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.
Thanks if you can help. I plan to release the tool for everyone to use.
Code: Select all
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)