Re: Generating wav files with Sapi5 tts

  • From: "qubit" <lauraeaves@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Sun, 21 Nov 2010 20:54:00 -0600

Hi -- let me jump in a second and ask if the old TextAloud program does what 
you want.  I bought TextAloud and a bunch of SAPI voices some years ago, and 
used it to send spoken attachments in various languages to my niece and 
nephews.  I bought it from NextUp, if that is still on the radar, and paid 
not much for TextAloud, but a fair amount for the voices, which were SAPI5.

If this program is still sold, I did find it useful, and hopefully there 
have been improvements made to it.  I sadly didn't use it enough to justify 
the expense, but now and then it can be fun...*smile*
Note that the document it reads can have embedded markup to change to 
different voices, so you can even have it read a conversation.  There were 
other editing commands.

Let me know if this is of interest -- for example, are you looking for a 
binary to do the translation, or do you want source code to fiddle with?
Happy hacking.
--le

----- Original Message ----- 
From: "Dave" <davidct1209@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Sunday, November 21, 2010 7:32 PM
Subject: Re: Generating wav files with Sapi5 tts


Haven't read the entire thread, but here are a few suggestions:
-  on Mac OS X, you can generate clips of speech synthesis through the
"say" command; there's even a flag to output to a file.  So, you could
write a shell, perl, or whatever scripting you're familiar with to
batch process a bunch of filenames or whatever you want.
-  if you know enough .Net or COM, you could use the SAPI interface
ISPVoice to generate the wave files.  This would be somewhat involved,
but would give you the greatest flexibility.  I've written speech
servers that made app's talk using the API, but have not investigated
its ability to output to file; I am fairly certain the option is there
though through the interface.


On 11/21/10, Jacob Kruger <jacobk@xxxxxxxxxxxxxx> wrote:
> Pretty sure the eSpeak software - not the synth, but the actual app just
> uses your machine's default sapi voice, since, for example, if I start it
> now on this machine it will come up with MS Anna as the default, but have 
> in
> the past used it with scansoft daniel, etc. etc.
>
> Stay well
>
> Jacob Kruger
> Blind Biker
> Skype: BlindZA
> '...fate had broken his body, but not his spirit...'
>
>   ----- Original Message -----
>   From: D!J!X!
>   To: programmingblind@xxxxxxxxxxxxx
>   Sent: Sunday, November 21, 2010 9:38 PM
>   Subject: RE: Generating wav files with Sapi5 tts
>
>
>   Unfortunately I'm looking more at a universal approach, where we can get
> any sapi5 engine to work. For example, the voice i want to use to create
> this is either microsoft anna or a neospeech voice... ESpeak seems to be
> it's own synthesizer...
>
>   THX, D!J!X!
>
>
>
> ------------------------------------------------------------------------------
>   From: programmingblind-bounce@xxxxxxxxxxxxx
> [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Jacob Kruger
>   Sent: Sunday, November 21, 2010 9:03 AM
>   To: programmingblind@xxxxxxxxxxxxx
>   Subject: Re: Generating wav files with Sapi5 tts
>
>
>   eSpeak has a command line version for generating .wav files from input
> text:
>   http://espeak.sourceforge.net/
>
>   Jacob Kruger
>   Blind Biker
>   Skype: BlindZA
>   '...fate had broken his body, but not his spirit...'
>
>     ----- Original Message -----
>     From: QuentinC
>     To: programmingblind@xxxxxxxxxxxxx
>     Sent: Sunday, November 21, 2010 12:34 PM
>     Subject: Re: Generating wav files with Sapi5 tts
>
>
>     > Quentin: What do you mean by spoken text? I think the general 
> problem
> is to find a tool which receives a text as input, and converts it to
> Wave/MP3, using a synthesizer. Please note that I am not meaning a sound
> recording utility which captures the voice of the synthesizer while it is
> speaking. I mean a direct text to wave/MP3, which can encode a , for 
> example
> 20-minute Wave/MP3 file, out of a text using a synthesizer in a few 
> seconds
>
>     Yes, I have well understood. DSpeech takes a text file and convert it
> into wave or MP3, but it is not command line and probably cannot be used 
> as
> batch.
>
>
>
>     __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 5635 (20101120) __________
>
>     The message was checked by ESET NOD32 Antivirus.
>
>     http://www.eset.com
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus 
> signature
> database 5636 (20101121) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: