How Do You Record Wav Files?
Posted on 2006-07-03
I could really do with some help, I'm trying to record sound from the microphone, and save it as a WAV file. My program already has WAV playing facilities (.Net 2.0 SoundPlayer, the easy bit) , and I'm analyzing the sound by reading in the binary file and following the WAV specification, as well as cutting the WAV file down and re-writing the file header - so I do get the basics of the format. My main problem is how to get the sound into a memory buffer, via the sound hardware, so that I can then create a WAV file header and save the file?
All help appreciated, and thanks for your time.