Solved

Memo text to speech through 16 bit soundblaster Card

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

840 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