0

I started working on a small project to edit raw .wav files in C but came across a problem regarding reading the sound files.

Everywhere i found some code it refered to the case where Subchunk2ID is data but all converters (from .mp3 or .m4a to .wav) that i found online produce a file where Subchunk2ID is LIST.

Usually, when Subchunk2ID is data the entire sound is kept into one big array, but i cannot find any reference regarding the LIST case and how the data in encoded into the file.

Also note that i want to stay away from sound libraries, since this project will be used to ilustrate simple sound editing in some of my classes, and i want to keep the code as low level as possible.

This is some information about the .wav header.

Is there a documentation or does anyone know how the data segment of a .wav file if ecoded in this case?

Tudor
  • 436
  • 3
  • 10
  • Does this answer your question? [What is a "LIST" chunk in a RIFF/Wav header?](https://stackoverflow.com/questions/63929283/what-is-a-list-chunk-in-a-riff-wav-header) – TDG Mar 21 '23 at 08:01

0 Answers0