Author Topic: Flite Speech Synthesis  (Read 2802 times)

pucho

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://www.Pucho.com
Flite Speech Synthesis
« 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

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.

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Flite Speech Synthesis
« Reply #1 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.
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

panyo

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • http://
Flite Speech Synthesis
« Reply #2 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.
SL5500  OZ3.5.2 (Opie), Dvorak built in keyboard
Spectrum24 Ethernet
SanDisk 256 ext2 (AR0401RF China) SD
Lexar 256 VFAT (P/N 2260, Rev. A), Transcend 128 ext2 CF
Pismo, Cube, 8600, Gentoo PowerPC, YellowDog

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Flite Speech Synthesis
« Reply #3 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
« Last Edit: October 30, 2004, 05:33:46 am by lardman »
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

suruaZ

  • Full Member
  • ***
  • Posts: 123
    • View Profile
Flite Speech Synthesis
« Reply #4 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
« Last Edit: October 30, 2004, 09:16:21 am by suruaZ »
SL-5500, Sharp ROM 3.13, Pretec GSM/GPRS CF, IBM Microdrive 340 MB

weasel123

  • Newbie
  • *
  • Posts: 41
    • View Profile
Flite Speech Synthesis
« Reply #5 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.

suruaZ

  • Full Member
  • ***
  • Posts: 123
    • View Profile
Flite Speech Synthesis
« Reply #6 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
SL-5500, Sharp ROM 3.13, Pretec GSM/GPRS CF, IBM Microdrive 340 MB