Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Microsoft Agent doesn't speak

Hi,

I'm a Delphi 6 and MS-Agent newby.
Trying to get my PC to speak with a.m. tools.

I managed to activate "Merlin" by importing agent as Active X control and I can make him write text in the text baloon. But he remains silent, even though I activate the voice output. Lips are not moving.

code segment used to output speech:

with Agent.Characters.Item['Merlin'] do
begin
Speak('Hello Folks!','');
Speak('This is map=' + chr(34) + 'Spoken text'
+ chr(34) + '=' + chr(34) + 'Balloon text' + chr(34) + '.','');
end

P.S. Running truespeech in parallel I get the very same Merlin speaking aloud. => Hardware and text2speech engine are okay!

Pls help,

Tnx Tommyjunge

Comments

  • ComboyComboy Member Posts: 4
    Hello Tom,
    I don't know how to get PC to talk with a.m. tools, but if you wanna hear your computer voice, here an easy way.

    uses
    Comobj;
    var
    voice: OLEVariant;
    begin
    voice := CreateOLEObject('SAPI.SpVoice');
    voice.Speak('Hi Tommy Junge');
    end;

    Wishes,

    Comboy.
    _____________________________________________________
    : Hi,
    : I'm a Delphi 6 and MS-Agent newby.
    : Trying to get my PC to speak with a.m. tools.
    : I managed to activate "Merlin" by importing agent as Active X control and I can make him write text in the text baloon. But he remains silent, even though I activate the voice output. Lips are not moving.
    :
    : code segment used to output speech:
    :
    : with Agent.Characters.Item['Merlin'] do
    : begin
    : Speak('Hello Folks!','');
    : Speak('This is map=' + chr(34) + 'Spoken text'
    : + chr(34) + '=' + chr(34) + 'Balloon text' + chr(34) + '.','');
    : end
    :
    : P.S. Running truespeech in parallel I get the very same Merlin speaking aloud. => Hardware and text2speech engine are okay!
    :
    : Pls help,
    :
    : Tnx Tommyjunge
    _____________________________________________________
Sign In or Register to comment.