Mega Code Archive

 
Categories / Delphi / Multimedia
 

Use the microsoft speech api

// Works on NT, 2k, XP, Win9x with SAPI SDK // reference & Further examples: See links below! uses Comobj; procedure TForm1.Button1Click(Sender: TObject); var voice: OLEVariant; begin voice := CreateOLEObject('SAPI.SpVoice'); voice.Speak('Hello World!', 0); end;