Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Memo text to speech through 16 bit soundblaster Card

Posted on 1998-12-10
5
Medium Priority
?
360 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 100 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

885 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