C#: transcribe WAV file to text (speech-to-text) with System.Speech namespaces

前端 未结 5 845
名媛妹妹
名媛妹妹 2021-02-06 06:15

How do you use the .NET speech namespace classes to convert audio in a WAV file to textual form which I can display on the screen or save to file?

I am looking for some

5条回答
  •  渐次进展
    2021-02-06 06:27

    I realize this is an old question, but there is better information available in later questions and answers. For example see What is the best option for transcribing speech-to-text in a asp.net web app?

    Instead of calling SetInputToDefaultAudioDevice() you can call SetInputToWaveFile() to read from an audio file.

    The desktop recognition engine that comes in Windows Vista and Windows 7 includes a dictation grammar as shown in the referenced answer.

提交回复
热议问题