0

I want to convert audio that is in .mp3 and .wav to text.. I write

SpeechRecognitionEngine sre = new SpeechRecognitionEngine();

but shows error of missing assembly.
I read many articles and questions here but did not understand first what to do.
Also tried to install speech.dll but shows error of

please make sure file is accessible and valid assembly or COM component`

any link from where I can download?

If any one can explain me step by step of installation plz. I am newbie to this.

tereško
  • 58,060
  • 25
  • 98
  • 150
Dhara
  • 1,914
  • 2
  • 18
  • 37
  • 1
    possible duplicate of [Convert audio to text](http://stackoverflow.com/questions/3958342/convert-audio-to-text) – Dmitry Aug 28 '15 at 07:19
  • @Dmitry I read that but I want to know about installation or dll part..I didnot get anything from any articles :( – Dhara Aug 28 '15 at 07:20

1 Answers1

1

System.Speech is part of the .NET Framework. To install it, right-click your project in Visual Studio and add a reference:

enter image description here

In the next window select System.Speech under Assemblies/Framework and press OK:

enter image description here

You can now reference the System.Speech package. Simply type your code and add your using statement:

enter image description here

Jakob
  • 1,156
  • 3
  • 15
  • 26