View Single Post
woody14619's Avatar
Posts: 1,455 | Thanked: 3,309 times | Joined on Dec 2009 @ Rochester, NY
#3
Well, I have a hack solution for right now that works. It's not super pretty, but it makes the current version of flite work (AND it works with maemo-mapper)!

The solution is to open an Xterm and do the following. You'll need flite and gainroot already installed.

Code:
root
cd /usr/bin
mv flite flite-hack
cat >>flite<<EOF
#!/bin/sh
/usr/bin/flite-hack "$@" /tmp/tmpplay.wav && /usr/bin/play-sound /tmp/tmpplay.wav >/dev/null
/bin/rm /tmp/tmpplay.wav
EOF
chmod a+x flite
Not the most elegant solution, and it won't work for very large strings of text (because /tmp isn't that big AND play-sound hand issues with large wave files), but it works well for mapper!
 

The Following 2 Users Say Thank You to woody14619 For This Useful Post: