Skip to main content

Posts

Showing posts with the label Speech converter in c#

Text to speech converter

Implementing speech technology into your program is extremely easy, but, our aim in this  post is to implement it in such a way that it would be reusable. The code am about to share here is a part of my Emris class library project that I built so that I do not re-write codes I have already writen before when I need them. Just like the project name which is named after the young War-Lock's ancient name in the Movie  "Merlin"  implies, the class library is a collection of magical classes that does all kinds of things, one of which is the one we are talking about. The Speech class. The class contains 3 private member variables and 1 public SpeechSynthesizer instance variable which are:         private int speechRate;         private string speechString;         private bool IsAsync=false;         public SpeechSynthesizer ss; 3 Public properties which is used to get and set values to the p...