Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Ovi Maps Extra Features - Now with voice guidance (early development)

    Reply
    Page 10 of 61 | Prev |   8     9   10   11     12   20 | Next | Last
    CormacB | # 91 | 2011-01-14, 19:08 | Report

    Google Chrome wouldn't play the no extension files. Bizarrely it downloaded them.

    I know just about nothing about sound on webpages: I copied the first snippet I found that worked

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to CormacB For This Useful Post:
    Wikiwide

     
    Android_808 | # 92 | 2011-01-14, 20:41 | Report

    firefox didn't do anything. may have been server related. i'm using xerver at the mo because it is small and takes seconds to set up.

    js is not my forte. i couldn't get the right syntax/escape sequence for the ' or " round type='audio/wav' to try it

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Android_808 For This Useful Post:
    Wikiwide

     
    jhb | # 93 | 2011-01-14, 22:43 | Report

    Great to see so much happening around the navigation. Good work! I fiddled a bit more on the python espeak server. The new version now:

    - sets cache headers
    - doesn't get confused by slashes

    - http://localhost:9999/turn right
    will read out "turn right"

    - http://localhost:9999/:turn-right.wav
    will play "sounds/turn-right.wav" because the colon after the slash triggerd sound file handling

    - http://localhost:9999/:turn-right.wav|at broadway then|:turn-left.wav
    will play sound file,reat out 'at broaway then', play another sound file

    - adds commands to a talk queue with each request

    - http://localhost:9999/CQ
    clears the queue

    Very much a quick hack. It works better on my n900 then on my laptop - there aplay adds a second or two after each file. And of course, its utterly insecure to be able to pass in filenames - a mapping of sorts in the code is required. But maybe good enough for playing around :-)

    https://baach.de/Members/jhb/speak_02.py/view

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 7 Users Say Thank You to jhb For This Useful Post:
    Android_808, Blaizzen, CormacB, ioan, slender, Tiboric, Wikiwide

     
    jhb | # 94 | 2011-01-15, 00:02 | Report

    Actually for testing CormacBs config.xml parser (thanks) I slightly modified the html he created:

    http://jhb.pastebin.com/6xW0bk8J

    and in speak_02.py:

    SOUNDPATH = 'english/english_male/'

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to jhb For This Useful Post:
    Wikiwide

     
    GEONXT | # 95 | 2011-01-15, 00:06 | Report

    I deleted my .Maps folder from my Docs is there anyway to retrieve this?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Wikiwide | # 96 | 2011-01-15, 00:12 | Report

    Originally Posted by GEONXT View Post
    I deleted my .Maps folder from my Docs is there anyway to retrieve this?
    Nokia Maploader through PC Internet and USB cable
    (download map of country/countries or/and voices)

    and/or

    connect N900 to Internet and open Maps and it will download data for the places you look at

    Edit | Forward | Quote | Quick Reply | Thanks

     
    damion | # 97 | 2011-01-15, 02:22 | Report

    It's FAT so you could try file recovery tools more reliably than most other filesystems.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to damion For This Useful Post:
    Wikiwide

     
    cheve | # 98 | 2011-01-15, 03:44 | Report

    here is a link of direct links to ALL maps and voice files. http://www.hpsblog.com/2009/07/direc...0-without.html this may become useful.

    cheers

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by cheve; 2011-01-15 at 03:47.
    The Following 3 Users Say Thank You to cheve For This Useful Post:
    Blaizzen, elie-7, Wikiwide

     
    Android_808 | # 99 | 2011-01-15, 12:48 | Report

    Been wrestling with apache2 on Laptop for a bit trying to get extension-less file playback in Firefox. Managed to get Firebug to show that the page has a audio/wav plugin loaded by changing the default mime-type for the server to application/octet-stream. So far no sound though.

    In the process of doing this, I've also tried to get <embed>'s onerror attribute working so I can at least get some idea of what is going on. Unfortunately, as yet I've had no success.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Android_808 | # 100 | 2011-01-15, 18:52 | Report

    Had nothing but grief with web server trying to test out different settings to load extension-less files. I've even been having issues with the originally posted code. Works one minute then doesn't the next so its made testing an absolute nightmare.

    I have however found a way to make it work reliably, for me anyway. If the server (apache linux, win32 and xerver) all want to be stupid....get rid of them. I've modified the test page so that it now can load local xml files. Rather than using

    Code:
    xmlhttp.readyState==4 && xmlhttp.status==200
    I'm now using:

    Code:
    xmlhttp.readyState==4 && xmlhttp.status==0
    This then presents the issue that xmlhttp.responseXML is blank, so I've added a function to take responseText and create the XML doc for the parser.

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: zip html.zip (2.9 KB, 113 views)
    The Following 2 Users Say Thank You to Android_808 For This Useful Post:
    cheve, Wikiwide

     
    Page 10 of 61 | Prev |   8     9   10   11     12   20 | Next | Last
vBulletin® Version 3.8.8
Normal Logout