Simple.Czechian.Net

SimpleSpeak

SimpleSpeak is very simple speaking application :-) It uses Windows SAPI engine to produce synthetic human voice.

It can be used in two ways. If you run the program without any command line parameters it shows you some user interface where you can enter stuff that you want the program to say. You can however run the program with parameters.

Command line parameters

The first parameter is always the string that should be said. There are some other parameters that control the sound of voice. See the list and some examples below.

Examples

Important downloads

As mentioned above, this program uses SAPI engine to speak. Although it is installed on most PCs with Windows, it may happen that you don't have it on yours. You can download it here.

C# source code

using SpeechLib;

...

string text = "Hello";
int speed = 0;
int volume = 100;
int voice = 0;
SpVoice speech = new SpVoice();
ISpeechObjectTokens voices = speech.GetVoices(string.Empty, string.Empty);
speech.Voice = voices.Item(voice);
speech.Rate = speed; //Ranges from -10 to 10
speech.Volume = volume; //Ranges from 0 to 100
speech.Speak(text, SpeechVoiceSpeakFlags.SVSFlagsAsync);
speech.WaitUntilDone(System.Threading.Timeout.Infinite);

Changelog

Comments

Comming soon...

WebZdarma.cz