Solved

Memo text to speech through 16 bit soundblaster Card

Posted on 1998-12-10
5
343 Views
Last Modified: 2010-04-04
Hi

I have a sound blaster(16 bit) sound card installed.I want to develop
a sound application where by clicking the text contents of a memo should
be read aloud by the computer( in speech form) something akin to Voicetext of Soundblaster
application.
I read an article for such a purpose.But it reqired a sound blaster
dll called Fb_spch.dll which i could not find it in my sound blaster CD.
Can any one suggest an alternative or give the location of Fb_spch.dll
I promise to send the code of the application(after awarding the points too)
Regards
venks
0
Comment
Question by:venks
  • 3
  • 2
5 Comments
 
LVL 2

Accepted Solution

by:
Thaddy earned 50 total points
ID: 1350298
here's some code to use microsofts(free) text to speech engine (SAPI), which is very good. You need to import the typelibrary from vtext.dll after sapi installation.
unit Unit_sp1;
interface
uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  HTTSlib_TLB, StdCtrls;
type
  TForm1 = class(TForm)
    Memo1: TMemo;
    Button1: TButton;
    procedure FormCreate(Sender: TObject);
    procedure FormDestroy(Sender: TObject);
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
   Sp:TTexttospeech;
  public
    { Public declarations }
  end;
var
  Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.FormCreate(Sender: TObject);
begin
  Sp:=TTexttospeech.create(self);
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
 sp.speak(Widestring(Memo1.lines.text));
end;
end.

0
 
LVL 1

Author Comment

by:venks
ID: 1350299
I am awarding the points to you.Can you tell any other method for doing the same job
Regards
venks
0
 
LVL 2

Expert Comment

by:Thaddy
ID: 1350300
There are several other ways, but I'd recommend using SAPI, because it's the core technology of MS AGENT, which is very strongly pushed by ms. It is one of the best quality engines available (apart from Dragon and IBM's)
If you want to use text to speech just on your creative lab's card, you can use creative's own speech developers kit ( Available separately) but you need to translate the C headers to Delphi yourself.(And it is of far lesser quality)
0
 
LVL 1

Author Comment

by:venks
ID: 1350301
Dear Thaddy
where can i find creative's own speech developers kit
Thanks for the tip
regards
venks
0
 
LVL 2

Expert Comment

by:Thaddy
ID: 1350302
Any creative Labs dealer should be able to order it,
or for more info www.creativelabs.com
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now