View Single Post
Blaizzen's Avatar
Posts: 397 | Thanked: 802 times | Joined on Jan 2010 @ Sydney
#60
Originally Posted by jhb View Post
Just suggesting: maybe a little web server (python?) in the background that could be called like "http://localhost:9999/talk/turn_right". The server would then either use espeak or prerecorded files. I might give it a go, but rather stretched on time today...

Thanks again for all your work!

Joerg

UPDATE: ok, I stole some time away, and quick-hacked a little python talk server.

- install espeak
- call 'python speak.py' in the terminal. Or 'python speak.py german' for a german talking server
- the server could then be called on http://localhost:9999/turn_right. The call returns immediately (either with the command spoken, or with 'error'), and the talk can be interrupted with a new request. Only knows turn_right and turn_left, but maybe enough for testing?

http://baach.de/Members/jhb/speak.py/view
wow very nice! I've got to try this. Thanks heaps for the idea and implementing it Just wondering though how do you call it from javascript? Since I've never played with servers or have much we experience at all (i've just been a bit lucky so far with this )

I've actually implemented the flash idea I said before but your idea is heaps better, especially since the maneuvers also contain data such as street names, hence we can eventually get spoken streets and directions


for people interested, this is what is possible and soon to be much better once the server is set up
http://www.youtube.com/watch?v=CC5vSv1dppc

(sorry for the quality, I recorded it with my dad's phone while both phones sat in the cup holders )

sound files were made from this site: http://vozme.com/index.php?lang=en



Edit: Just tried the python server, it works amazingly!!! Awesome work! I might try implement a small test in the maps application and make another quick video. But I again thanks, this is exactly what we needed

Last edited by Blaizzen; 2011-01-13 at 10:09.
 

The Following 7 Users Say Thank You to Blaizzen For This Useful Post: