Solved

Memo text to speech through 16 bit soundblaster Card

Posted on 1998-12-10
5
345 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

919 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

22 Experts available now in Live!

Get 1:1 Help Now