Getting data from a microphone in C#

Hashim Al-Arab picture Hashim Al-Arab · May 18, 2010 · Viewed 40.1k times · Source

I'm trying to record audio data from a microphone (or line-in), and then replay it again, using C#.

Any suggestions on how I can achieve this?

Answer

Mark Heath picture Mark Heath · May 18, 2010

have a look at the open source .NET Voice Recorder project which uses NAudio. There is an article on Coding4Fun explaining how it works.