Zabaware Support Forums
Zabaware Forums => Speech Technology => Topic started by: seduar on September 25, 2007, 09:17:23 pm
-
Hi,
I have a free example of Heather voice and I think I can make it work with Hal.Since that example have aplace to type words like a text box. There you enter the sentence and then you press a botton play and speaks the words with Heather voice synthesizer.
So I am prertty sure that It can be use with Hal. I really Like this voice and if there is someone that knows a little of programing may be we together can give Hal a Natural beautiful female voice.
A code could be something like this:
#include “windows.h”
#include “BabTTSBundle.h”
const char* lpszLic= #include "Academo.h" ;
void main()
{
//load the dll (here, AcaTTS.dll is in the Path, otherwise use BabTTSInitDllEx)
if (NULL==BabTTSInitDll())
return;
If you want to enhance Hal reply to this messege.
[:)]
-
I agree that the Heather TTS voice sounds very nice.
It is a shame that it requires one of the Text Aloud products
in order to work. This is the voice from Acapela and Nextup.
The voice has been tried with Hal in the past and would not work.
If you manage a way to do so, please let the rest of us know.
The demo (free) voice is limited to a set number of days (I believe).
Good luck!
-
I had this Demo for more than 6 months and still working in my compueter, thats whay I want to make it work with Hal. I know it can be done.
I will keep you guys informe about my research.
-
I think I got the code.
#include "windows.h"
#include ".....include/iobabtts.h"
#define _BABTTSDYN_IMPL_
#include ".....includeifBabTTSDyn.h"
#undef _BABTTSDYN_IMPL_
#include "stdio.h"
/*
* This simple example shows how to use the BabTTS_Speak within an application
*
*/
int main( int argc, char *argv[ ])
{
if (argc!=3)
{
printf("\nUsage SpeakText Voice input.txt\ni.e. : SpeakText Heather22k english.txt");
return -1;
}
BabTtsInitDll();
BabTTS_Init();
LPBABTTS lpEngine;
lpEngine=BabTTS_Create();
if (NULL==lpEngine)
return -1;
if (E_BABTTS_NOERROR!=BabTTS_Open(lpEngine,argv[1],BABTTS_USEDEFDICT))
{
printf("\nError opening %s ",argv[1]);
return -1;
}
printf("\nSpeaking %s ",argv[2]);
BabTTS_Speak(lpEngine,argv[2],BABTTS_FILE|BABTTS_SYNC);
BabTTS_Close(lpEngine);
BabTTS_Uninit();
BabTtsUninitDll();
return 0;
}
All I have to do is open Hal in vb and look for a place to insert the code. I should be by where the speech stuff is.
-
Well,
I just bout heather's voice through TextALoud for 29 Dollars.
I have been tryibg to configure it to work with Hal, but there hasn't been any luck; some how the voice Heather is configure to work only with a sapi5 tts engine that it only works with TextALoud.
-
Hmm...just to let you know - I have actually got similar voices (I bought Karen with Text Aloud) to work with just Haptek. So I think there must be someway to get the voice to work with Hal.
Did you try changing the computer's default voice using the Haptek SAPI Config program?
-
Yes I already try to change the voice default through haptek SAPI config program, but it doesn't give an option to check Heather's voice. It does not apear in the check box.
-
The Heather voice will only work with Nextup products.
Check their web site.
I think all Acapella voices are the same.
-
Hmm...maybe I bought mine before they locked things up.
-
Hmmm...ya type it out and they just don't read it...
>Quoted from my post above...>
I agree that the Heather TTS voice sounds very nice.
It is a shame that it requires one of the Text Aloud products
in order to work.[:(]
-
What's that Art ? ...(cups ear)...doesn't work old chap ? ...is that what you're trying to tell me ? By the Lord! [;)]
-
Step back sonny afore I wack you with my cane!
Young whippersnappers!![:)]
-
We are getting closer to get the right code to use Heather voice. I found this information about how to develop an application using Acapela's voices. " It is all about coding"
This chapter presents the necessary steps for integrating Speech Synthesis into your application. See
the User’s Guide for more information about the installation procedure.
2.1. Directory Structure
During the installation, the following directory structure is created:
<TargetPath> : The Main directory where are stored the different layers
<TargetPath>BabWizard: specific files for uninstalling purposes
<TargetPath>Bin: the binaries used by voices <TargetPath>Doc: the help files (User Guide, Language
manuals) <TargetPath>Engines: data and modules for the installed voices. <TargetPath>SdkInclude:
the include files for C/C++ programming <TargetPath>SdkSamples: source code of the sample programs
Note: According to what you’ve purchased, the directory structure can be slightly different.
2.2. Integrating the TTS in applications
2.2.1. Proprietary API
2.2.1.1 Include Files
The software development kit is provided with two kind of include files (.h):
#56256;#56451; Object definitions: ioBabTts.h defines the structures, enums and macro of the SDK
#56256;#56451; Function definitions: ifBabTtsDyn.h
2.2.1.2 Linking to the DLL
In order to use the SDK, you have to explicitly tell to your application where to find the AcaTts.dll
:
#56256;#56451; Include the windows definition file (windows.h or stdafx.h)
#56256;#56451; Include ioBabTts.h and ifBabTtsDyn.h in all source files (except one) you expect to use the TTS
In order to implement the dynamic loading, insert in only one source file:
#include <windows.h> or <stdafx.h>
#include "ioBabTTS.h"
#define _BABTTSDYN_IMPL_
#include "ifBabTTSDyn.h"
#undef _BABTTSDYN_IMPL_