View Single Post
Posts: 151 | Thanked: 82 times | Joined on Sep 2008
#4
Originally Posted by woody14619 View Post
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!
Has anyone got flite working on the N900?

I'm trying to turn by turn voice working in "maemo mapper"