Question

sorry for this not being a programming question directly, but more indirectly as i try to batch convert audio files, which is proving difficult.

I have an audio file which i exported from a package. This audio file is of the RIFF WAVE format. As far as i have read up on headers, normal headers are 44 bytes long. Which contains the sub parts "fmt " and "data". However, this header shows all kind of weird junk, which i cannot actually place anywhere. If anyone is an audio guru of sorts, please help me out on how to make this audio file accessible for most audio players? i do not care to lose some of the header data as long as it plays the actual content.

Here is a screenshot of my current header data unaltered: http://puu.sh/2JtWg.png

Thanks in advance.

Was it helpful?

Solution 2

Turns out this WAVE thing is just a container, and it actually contains a .ogg. I used ww2ogg 3rd party tool to get out these .ogg files as wave. Thanks for all the help though!

OTHER TIPS

44Bytes is the size of a minimal Wav File header. The format allows for other data chunks in the header in addition to the Riff, fmt and data chunks.

It looks like you have some cue information in your file. This is not a problem, most audio players should accept a wav file with these chunks.

How to write cues/markers to a WAV file in .NET discusses how to add a cue chunk to a file.

http://www.sonicspot.com/guide/wavefiles.html covers some of the additional chunks a wav file can have.

Mike

According to http://en.wikipedia.org/wiki/WAV there is a table of wave files with different comperssion. You can just investigate in HEX editor a value of AudioFormat field of fmt chunk, to get a list of most common codecs used for compression.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top