Linux TTS Voices
Fred Roller
fred at fwrgallery.com
Sat Mar 20 00:15:45 UTC 2010
Christopher Lemire wrote:
> On Wed, Mar 10, 2010 at 9:24 AM, Fred Roller <froller at tnclimited.com>
> wrote:
>> Christopher Lemire wrote:
>>>
>>>
>>>
>>> On Fri, Feb 26, 2010 at 11:41 PM, Kyle <kyle4jesus at gmail.com> wrote:
>>>> Speech-dispatcher provides access to a number of voice synthesis
>>>> programs through a single API. It currently supports eSpeak, flite,
>>>> TTSynth/IBMTTS/Voxin or whatever it's called, Festival and others. The
>>>> output voice can be configured however the user likes and the calling
>>>> application doesn't need to be aware of the configuration unless it
>>>> changes the output voice from the default.
>>>>
>>>> Spd-say is just the most simple and basic client for
>>>> speech-dispatcher.
>>>> It basically just speaks whatever is sent to it. I'm not sure about
>>>> what
>>>> the pipe mode does, but you can simply call spd-say with the text you
>>>> want spoken and it will speak using the default voice settings. For
>>>> something more complex, you can write your own standalone client or
>>>> use
>>>> the speech-dispatcher API directly from within your application.
>>>>
>>>> Kyle
>>>> --
>>>> Jesus you're my life.
>>>> I live only to serve You
>>>> Each and every day.
>>>> --Kyle
>>>>
>>>> --
>>>> ubuntu-users mailing list
>>>> ubuntu-users at lists.ubuntu.com
>>>> Modify settings or unsubscribe at:
>>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>>>
>>>
>>> Could someone show me through the command line how espeak and mbrola
>>> works together. I've tried this many times and different ways. The
>>> examples I find online have paths to files that are not on an Ubuntu
>>> computer unless they compiled them, but not from the packages.
>>> I can't further my project until I can see how this is working through
>>> the command line.
>>>
>>> Christopher Lemire <christopher.lemire at gmail.com>
>>> Ubuntu 64 bit Linux Raid Level 0
>> Sure, this was my last adjusted command from my notes:
>>
>> # Final espeak w. mbrola
>>
>> espeak -s 200 -k 20 -v mb-en1 -m -f test_prose |mbrola -e en1/en1 -
>> testprose.wav
>>
>> Broken down:
>>
>> espeak (the first command)
>> -s 200 (speed of speaker)
>> -k 20 (pitch of capital letters, this is the recommended 20)
>> -v mb-en1 (the mbrola voice to let espeak know you are using
>> mbrola)
>> -m (helps ignore html type code and allows usage of SSML)
>> -f test_prose (my test text, found it easier to work from text
>> files. Also you may need to edit see the copy below)
>> | (pipe to mbrola)
>> mbrola (second command)
>> -e en1/en1 (location of the language file, this is relative to my
>> working directory [dir/file] or you can put an absolute path in as
>> well.)
>> - testprose.wav (output file)
>>
>> Here is the test_prose file content, it's not much but does show some
>> editing tweeks:
>>
>> http://paste2.org/p/710564
>>
>>
>>
>> --
>> Fred
>> www.fwrgallery.com
>>
>> "Life is like linux, simple. If you are fighting it you are doing
>> something wrong."
>>
>>
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>
> Thank you for that information. Unfortunately, it didn't work on my
> machine. Do you have some packages installed I do not? Here is the
> error I got and the packages with espeak or mbrola in their names.
>
> chris at ubuntu910:~$ espeak -s 200 -k 20 -v mb-en1 -m "this is a test
> using mbrola with espeak" |mbrola -e en1/en1 - test.wav
> FATAL ERROR : cannot find file en1/en1 !
> chris at ubuntu910:~$ dpkg -l | grep espeak\|mbrola
> chris at ubuntu910:~$ dpkg -l | grep "espeak\|mbrolaC"
> ii espeak
> 1.41.01-0ubuntu1 A multi-lingual software
> speech synthesizer
> ii espeak-data
> 1.41.01-0ubuntu1 A multi-lingual software
> speech synthesizer:
> ii gespeaker
> 0.7-1 GTK+ front-end for eSpeak
> and mbrola
> ii libespeak1
> 1.41.01-0ubuntu1 A multi-lingual software
> speech synthesizer:
> ii stardict-plugin-espeak
> 3.0.1-5 International dictionary -
> eSpeak TTS plugin
> chris at ubuntu910:~$
> Christopher Lemire <christopher.lemire at gmail.com>
> Ubuntu 64 bit Linux Raid Level 0
When you downloaded mbrola did you get /their/ language package? In
this case "en1". I placed my language package relative to my working
directory. The full path for *my* system was:
/Crypt/Software/mbrola/en1/
If I were to run the command with absolute paths then it would look
something like:
espeak -s 200 -k 20 -v mb-en1 -m "this is a test using mbrola
with espeak" |mbrola -e /Crypt/Software/mbrola/en1/en1 - test.wav
hope this helps.
--
Fred
www.fwrgallery.com
"Life is like linux, simple. If you are fighting it you are doing something wrong."
More information about the ubuntu-users
mailing list