0

Is it possible to capture all/any audio played by a PC into a system.io.stream, so that it can then be run through speech recognition (System.Speech.Recognition.SpeechRecognitionEngine)?

Essentially I'm looking to pefrom speech recognition on any audio on the client PC, google seems to suggest that capturing a stream like this can be done using Microsoft.DirectX.DirectSound, however I cannot honestly determine how. Any suggestions would be greatly appreciated.

Will
  • 1
  • 1
  • for what it is worth, there are commercial packages like http://www.applian.com/replay-music/ that capture any audio played by the PC. So there is a way. – Michael Levy Jun 21 '11 at 13:02

1 Answers1

0

Take a look at this question for a solution on Vista/Win7, and take a look at this one for WinXP.

Summary: You can use Loopback recording with WASAPI in Vista/Win7, but there is no equivalent API in WinXP, however a partial solution can be achieved with a virtual soundcard driver.

Community
  • 1
  • 1
yms
  • 10,361
  • 3
  • 38
  • 68