OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: pucho on October 29, 2004, 03:24:35 pm

Title: Flite Speech Synthesis
Post by: pucho on October 29, 2004, 03:24:35 pm
How can flite be installed and configured on Zaurus 5600?
Flite and flite_time do not run from terminal command line.

1. Get flite package
http://cmuflite.org/packed/flite-1.2/flite_arm_bin.tar.gz (http://cmuflite.org/packed/flite-1.2/flite_arm_bin.tar.gz)

2. Uncompress
#gzip -d flite_arm_bin.tar.gz

3. Untar
#tar -xvf flite_arm_bin.tar

4. Output
#ls -l
flite
flite_time
flite_arm_bin

5. Run flite from command line.
#flite -t "hello"
bash: flite: command not found

#flite_time
bash: flite_time: command not found

How can flite be installed and configured on Zaurus 5600?
Any clues? Please advise.  Thanks in advance.
Title: Flite Speech Synthesis
Post by: zenyatta on October 29, 2004, 03:54:42 pm
That's easy: run "./flite" instead of simply "flite".

For programs to be run simply by their name, they must be in one of the directories specified in the PATH environment variable. To list them, type "echo $PATH".

z.
Title: Flite Speech Synthesis
Post by: panyo on October 30, 2004, 02:36:47 am
Quote
That's easy: run "./flite" instead of simply "flite".

For programs to be run simply by their name, they must be in one of the directories specified in the PATH environment variable. To list them, type "echo $PATH".

z.
Unfortunately, it is not that easy if your are using OZ 3.5.1.
There it runs, but produces incomprehensible speech.
Somewhere, I saw that it has something to do with the sample rate of the dsp,
I am not finding the discussion. This is a very nice program that
should be included in Z feeds.  Unfortunately, I am not able to make that
contribution at this time.
Title: Flite Speech Synthesis
Post by: lardman on October 30, 2004, 05:33:10 am
Quote
Unfortunately, it is not that easy if your are using OZ 3.5.1.
There it runs, but produces incomprehensible speech.
Somewhere, I saw that it has something to do with the sample rate of the dsp,
I am not finding the discussion.

It may also be something to do with the change in the floating point emulation.

It should probably be recompiled (added to OE).


Si
Title: Flite Speech Synthesis
Post by: suruaZ on October 30, 2004, 09:13:59 am
Quote
Unfortunately, it is not that easy if your are using OZ 3.5.1.
There it runs, but produces incomprehensible speech.

It works good enough with Sharp ROM. At least I (English is not my native language) able to understand it. Cool!

Why it's so big? What  flite-time is for? There are no any docs. Even on the site not much information about.

What if incorporate it with opie-reader (Tim!) ? Then will be possible not only read e-books but also listen them.

suruaZ
Title: Flite Speech Synthesis
Post by: weasel123 on October 30, 2004, 11:19:24 am
Quote
Quote
Unfortunately, it is not that easy if your are using OZ 3.5.1.
There it runs, but produces incomprehensible speech.
Somewhere, I saw that it has something to do with the sample rate of the dsp,
I am not finding the discussion.

It may also be something to do with the change in the floating point emulation.

It should probably be recompiled (added to OE).


Si
I recompiled the flight using oe,  and it sitll has very fast incomprehensible speech. I dont know why this is, but it looks like the timing for the speech engine is getting messed up.
Title: Flite Speech Synthesis
Post by: suruaZ on October 31, 2004, 02:22:36 am
I found the answers for most questions asked here in README supplied with the source code.

There are explanations about low voice quality, about  floating point instructions and Z and much more. Worth to read.
Also a few usefull switches are explained:

"...Some typical examples are

./bin/flite --sets join_type=simple_join doc/intro
     Use simple concatenation of diphones without prosodic modification
./bin/flite --seti verbosity=1 doc/alice
     Print sentences as ther are said
./bin/flite --setf duration_stretch=1.5 doc/alice
     Make it speak slower
./bin/flite --setf int_f0_target_mean=145 doc/alice
     Make it speak higher..."

suruaZ