I'm doing a project on audio signal processing and I need to import a wav file in c# and extract an array of doubles or floats that contains the signal data. Most of the tutorials for audio libraries I've found don't seem to do stuff this low-level. Any help would be appreciated, thanks.
Asked
Active
Viewed 1,255 times
1
-
http://www.mega-nerd.com/libsndfile/ libsndfile is a nice C library, if you can choose your language. – Oliver Oct 26 '11 at 10:00
-
Use NAudio, WaveStream class. – Hans Passant Oct 26 '11 at 11:28
1 Answers
1
http://www.codeproject.com/KB/audio-video/PlayWavFiles.aspx this site helped me, but the .exe file became very large due to the imported wav files. So sending the project via email will be a problem. :) I hope I'm not too late; you posted this quite a while ago...

Yaz
- 19
- 1
-
-1: It just play wav file using `System.Media.SoundPlayer`. Cannot get wav array using it! – ahmadali shafiee Mar 14 '12 at 11:35