We help IT Professionals succeed at work.

text 2 speach engine

hugh34
hugh34 asked
on
where can i get the Microsoft text 2 speech engine and then how can i use it through my delphi application?
Comment
Watch Question

Commented:
I would strongly sugest checking out this link: http://www.o2a.com/dtalk.htm . They do peddle their own stuff, but have a lot of good info on the topic. The page also gives a link to the free MS activeX's which are BTW part of the agent2 redist's.

GL
Mike

Author

Commented:
anything freeware?

Commented:
if you have installed microsoft speech(you can find one in office disk)you can import active x control.
microsoft voice text.

You can download the microsoft speech from:
http://msdn.microsoft.com/code/default.asp?url=/code/sample.asp?url=/msdn-files/027/000/781/msdncompositedoc.xml

it is about 200m

Commented:
as f15iaf pointed out the MS controls I mentioned earlier are indeed free. If you'd like to get the sdk here's a shorter link: http://www.microsoft.com/speech/ .

GL
Mike
VSF

Commented:
After download MS Agent and install TAgent into Delphi
Take a look at my sample that shows how to add Microsoft characters to your app just like MSOffice does!

U can use text 2 speech togather with characters, and your apps will look much more "professional" !

http://www.victory.hpg.ig.com.br/Samples/Genio.zip

Hope it helps!
VSF
If you are using Agent I have an advanced sample here http://home.ec.rr.com/rickhalle/. I'll see what else I can throw together for speech specifically.

Rick Halle
Ok, I have some speech specific stuff together now. Once you have installed the TTS, you can download it at http://www.microsoft.com/msagent/downloads.htm, or the Speech SDK at http://www.microsoft.com/speech/ you should be able to run the TTS Sample I have up at http://home.ec.rr.com/rickhalle/ . I suggest getting the SDK so you can expand what I started based on the sdk docs. It also has documentation on redistribution.
 
Code snippet:

Uses comobj;

var VoiceObj: OleVariant;
begin
  VoiceObj := CreateOleObject('Sapi.SpVoice');
  VoiceObj.Speak('Some Text');
  VoiceObj := Unassigned;
end;

The sample I posted on my site also gets a list of voices and uses the selected voice when speaking.

Rick Halle

Explore More ContentExplore courses, solutions, and other research materials related to this topic.