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

前端 未结 5 846
名媛妹妹
名媛妹妹 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:47

    I have tested your code , but it is not grabbing wave file properly. It is catching

    If Not OpenFileDialog1.FileName.Contains("wav") Then MessageBox.Show("Incorrect file") Else TextBox1.Text = OpenFileDialog1.FileName End If

    Not the else condition. I tried using .wav in the string also.

    I am also in need of a sample code for transcribing wav file to text not from Microphone. Please if u came to a good solution so please post it here.

提交回复
热议问题