How to assemble a WAV file?

After successfully fetching and extracting audio samples from UDP Ethernet packets on a PC, I need to compile them into a WAV file in C #.

Any code example? Any suggestions?

+2


a source to share


2 answers


I used this page to understand the WAV format:

https://ccrma.stanford.edu/courses/422/projects/WaveFormat/



Some of the wrinkles that I found when reading real WAV files are missing, but there is enough good information to write them and quite easy to understand.

+2


a source


The following article doesn't contain the exact source code you need, but reading it and the four blog entries that are listed in it should point you in the right direction.



http://blogs.msdn.com/coding4fun/archive/2010/05/03/10006604.aspx

+1


a source







All Articles