You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Text2speech robotic female voice

Author (Read 7579 times)

0 Members and 1 Guest are viewing this topic.

Text2speech robotic female voice
« Reply #1 on: August 12, 2014, 10:37:06 PM »
 

anon222

  • Muted
  • Gold Level Poster
  • *
  • 688
    Posts
  • Reputation: 192
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Pentium E5700 3GHz

  • MEMORY: 3Gb

  • VIDEO CARD: GeForce GT 430
Code: [Select]
sudo apt-get install espeakThis is one cool script , it can be used instead of login sound. It uses text2speech with customized female voice. :)
Code: [Select]
#!/bin/sh
 
slp=0s
rep=0
vol=1
text='Reactor Online. Sensors Online. Weapons Online. All Systems Nominal. '
 
while getopts 'w:r:v:t:' OPTION
do
case $OPTION in
w) slp="$OPTARG"
;;
r) rep="$OPTARG"
;;
v) vol="$OPTARG"
;;
t) text="$OPTARG"
;;
?) printf "Usage: %s: [-w wait <$slp>] [-r repeat <$rep>] [-v vol <$vol>] [-t text <$text>] \n" $(basename $0)
exit 2
;;
esac
done
 
sleep $slp
echo $text | espeak --stdout -s120 -k18 -a200 -v 'en+f5' --stdin | play -v $vol -t wav - \
chorus 0.4 0.8 20 0.5 0.10 2 -t \
echo 0.9 0.8 33 0.9 \
echo 0.7 0.7 10 0.2 \
echo 0.9 0.2 55 0.5 \
gain 20 \
repeat $rep
slp-startup delay in seconds
rep-repetition
vol-volume in range from 0 to1
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section