dupa

Author Topic: working with Heather voice  (Read 11151 times)

seduar

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
working with Heather voice
« 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.

[:)]
 

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3854
    • View Profile
working with Heather voice
« Reply #1 on: September 26, 2007, 04:44:18 pm »
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!
In the world of AI it's the thought that counts!

- Art -

seduar

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
working with Heather voice
« Reply #2 on: September 26, 2007, 08:52:16 pm »
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.
 

seduar

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
working with Heather voice
« Reply #3 on: September 26, 2007, 09:34:33 pm »
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.
 

seduar

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
working with Heather voice
« Reply #4 on: November 21, 2007, 10:43:14 pm »
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.

 

freddy888

  • Hero Member
  • *****
  • Posts: 1693
    • View Profile
    • AiDreams
working with Heather voice
« Reply #5 on: November 22, 2007, 11:08:16 am »
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?

seduar

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
working with Heather voice
« Reply #6 on: November 22, 2007, 11:12:45 pm »
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.
 

NIGE

  • Hero Member
  • *****
  • Posts: 1592
  • Bringing things to life
    • View Profile
working with Heather voice
« Reply #7 on: November 22, 2007, 11:40:23 pm »
The Heather voice will only work with Nextup products.
Check their web site.
I think all Acapella voices are the same.

freddy888

  • Hero Member
  • *****
  • Posts: 1693
    • View Profile
    • AiDreams
working with Heather voice
« Reply #8 on: November 23, 2007, 01:42:09 pm »
Hmm...maybe I bought mine before they locked things up.

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3854
    • View Profile
working with Heather voice
« Reply #9 on: November 23, 2007, 05:23:07 pm »
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.[:(]
In the world of AI it's the thought that counts!

- Art -

freddy888

  • Hero Member
  • *****
  • Posts: 1693
    • View Profile
    • AiDreams
working with Heather voice
« Reply #10 on: November 24, 2007, 09:52:39 am »
What's that Art ? ...(cups ear)...doesn't work old chap ? ...is that what you're trying to tell me ?  By the Lord! [;)]
« Last Edit: November 24, 2007, 09:53:41 am by freddy888 »

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3854
    • View Profile
working with Heather voice
« Reply #11 on: November 25, 2007, 02:48:03 pm »
Step back sonny afore I wack you with my cane!
Young whippersnappers!![:)]
In the world of AI it's the thought that counts!

- Art -

seduar

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
working with Heather voice
« Reply #12 on: December 02, 2007, 04:39:08 pm »
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_