c# – How to do speech recognition in WPF / C # application?


For example, the "Start" button -> you press – the sound is perceived – the "Stop" button (aka) -> a sound file is sent to the google server -> I get a response.

How to implement this?


Specifically, WPF, apart from the interface, is unlikely to help you with anything. That. the problem is split into 2.

  1. Record audio. Surely the NAudio project will help. NAudio is an open source project – .NET api for working with audio

  2. Convert to the desired audio format and recognize it using Google Voice. With the permission of the authors, I am referring to this article .

Good luck!

Scroll to Top