Speech enabled asp.net application

后端 未结 4 774
孤街浪徒
孤街浪徒 2021-01-07 14:15

We are working on an asp.net web application that requires some data to be entered by speech.

The user can enter some data using normal user interface however, we wa

4条回答
  •  伪装坚强ぢ
    2021-01-07 14:55

    Yes, it can be done:

    1. Use HTML5's getUserMedia to capture an audio stream
    2. Save it to .WAV, there are libraries for that
    3. Send the .WAV to the server through AJAX
    4. Feed the .WAV to SpeechRecognitionEngine, through the SetInputToWaveFile method
    5. Get the result and return it in the AJAX call

    An example:

    http://weblogs.asp.net/ricardoperes/speech-recognition-in-asp-net

提交回复
热议问题