Audio files programming

Hello programmers :-),

I'm not so sure this is the right place to place this question, but I don't know where else to go.

I would like to understand how audio is saved in files, maybe starting from uncompressed WAV files proceeding to MP3 files.

I'm familiar with advanced C and C++ programming and with Fourier transforms since I'm a physicist.

Could you guys please help me and tell me where I have to start from so I that I could write my first audio file as a sample?

Thank you :-)
A very good place to start is at Wikipedia
http://en.wikipedia.org/wiki/WAV

The "External Links" at the bottom have everything you need to get started.

The WAV file format is a mess, so make sure to read as much as you can at the start.
The PCM data itself is relatively straightforward.


The next place to go is to look at sound libraries, like Microsoft's ACM.

Good luck!
Thanks buddy, I'll go for it :-)

What about MP3? any ideas?
It is just a different way of storing the samples.
Thanks :-)
Topic archived. No new replies allowed.