Capturing sound from a microphone in Windows via C #

7

How do I capture the audio that the microphone receives in Windows with C #? I want to develop a software that receives external sound and based on it it changes the volume of my computer.

    
asked by anonymous 29.01.2016 / 17:21

1 answer

2

You'll need a library to do this without having to go directly to the Windows API. The best known is the NAudio .

If you are using XNA, you have ready class .

    
29.01.2016 / 17:29