Solved

Memo text to speech through 16 bit soundblaster Card

Posted on 1998-12-10
5
354 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month10 days, 12 hours left to enroll

632 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