Notices


Reply
Thread Tools
Blaizzen's Avatar
Posts: 397 | Thanked: 802 times | Joined on Jan 2010 @ Sydney
#201
Originally Posted by mscion View Post
Hi, I did not succeed to get voice to work... Any suggestions on what to check would be appreciated. Regardless, thanks for your efforts in improving ovi maps on N900.
Do you hear any sound at all? Is the sound maybe delayed? Also remember it works within a specific range, so maybe drive around and see.
 
Posts: 1,873 | Thanked: 4,529 times | Joined on Mar 2010 @ North Potomac MD
#202
Originally Posted by Blaizzen View Post
Do you hear any sound at all? Is the sound maybe delayed? Also remember it works within a specific range, so maybe drive around and see.
Unfortunately it failed the drive test. Not a peep. Although I am able to play the individual .wav files. Has anyone else got the english_us version to work?
 
Blaizzen's Avatar
Posts: 397 | Thanked: 802 times | Joined on Jan 2010 @ Sydney
#203
Originally Posted by mscion View Post
Unfortunately it failed the drive test. Not a peep. Although I am able to play the individual .wav files. Has anyone else got the english_us version to work?
Mine is partially working, just delayed on saying the voice commands (300 <delay> meters <delay> turn right), so it often says the turn after i've already turned off and approached the next turn . I assume it could be just my N900 though

Are you using this html version? :http://talk.maemo.org/attachment.php...3&d=1295624977
(it'll have an error if no voice files are found).
 
Blaizzen's Avatar
Posts: 397 | Thanked: 802 times | Joined on Jan 2010 @ Sydney
#204
Originally Posted by woody14619 View Post
I got an even odder result. Was using the version earlier that mixed espeak for the street names and used the wavs for the normal guidance. I could hear all the espeak stuff, but it was clearly missing chunks where it was supposed to be saying the other things. The odd part was that it was delayed the right amount of time to say the things it was supposed to... it just didn't say anything. The python server was running... with the proper path and all that. I just don't get why it's not doing what its supposed to. :P

Any thoughts?
Make sure the espeak server is set up to use the correct location of the sound files. In the server its the line:
SOUNDPATH = '/home/user/MyDocs/cities/english/english_male/'

Additionally, it will not work with the .wav extension (it looks for the non-extensioned files). This can be changed in the server I assume, but i'm no good at python so I have no idea how

Sorry didn't see your post before
 

The Following 2 Users Say Thank You to Blaizzen For This Useful Post:
woody14619's Avatar
Posts: 1,455 | Thanked: 3,309 times | Joined on Dec 2009 @ Rochester, NY
#205
Originally Posted by Blaizzen View Post
Make sure the espeak server is set up to use the correct location of the sound files. In the server its the line:
SOUNDPATH = '/home/user/MyDocs/cities/english/english_male/'

Additionally, it will not work with the .wav extension (it looks for the non-extensioned files). This can be changed in the server I assume, but i'm no good at python so I have no idea how

Sorry didn't see your post before
That's the exact path I have in the server. And I have both forms (wav and non-wav) in the folder. I still get no voice playback, only the espeak bits with pauses between them. Yet when I run the aplay command by hand with the sound files (wav or non-wav) I get audio output...

I've put this aside for a bit, but will get to play with it some this weekend. I know pyhton enough to trace what's going on, so maybe I'll wander through it and see what's happening...
 
rooster13's Avatar
Posts: 319 | Thanked: 221 times | Joined on Jan 2010 @ Finland
#206
Brilliant work guys!

I just installed CormacB's version with finnish language and am really looking forward testing it tomorrow.

Couple of questions.

What is the 3rd blank square under the chequered flag suppose to do?

Also would it be possible to add automatic reroute if you stray away from the track or even when the reroute button is pressed it would automatically zoom back to the level when you press the red dot?
__________________
Sail Raid, an old skool shoot'em up for Jolla
KillDroid, Android service killer for Jolla
goViihde, an Elisa Viihde client for Jolla
goViihde, an Elisa Viihde client for N9
Shortcut Stash Home Screen Widget
 

The Following User Says Thank You to rooster13 For This Useful Post:
rooster13's Avatar
Posts: 319 | Thanked: 221 times | Joined on Jan 2010 @ Finland
#207
I tested CormacB's index.html today and it is working with finnish language out of the box.

Only problem is that the guidances come, if they come at all after the turns. Is there any way to tweak this so that guidances are played well before a turn occurs?

It may also be because of the lagginess of Ovi maps. Would it be possible to load all the voices into memory so there would not be any lag. Even better would be to load only the voices which are need in the route only.
__________________
Sail Raid, an old skool shoot'em up for Jolla
KillDroid, Android service killer for Jolla
goViihde, an Elisa Viihde client for Jolla
goViihde, an Elisa Viihde client for N9
Shortcut Stash Home Screen Widget

Last edited by rooster13; 2011-02-05 at 14:21. Reason: Typos...
 

The Following User Says Thank You to rooster13 For This Useful Post:
Posts: 1,873 | Thanked: 4,529 times | Joined on Mar 2010 @ North Potomac MD
#208
Originally Posted by rooster13 View Post
I tested CormacB's index.html today and it is working with finnish language out of the box.

Only problem is that the guidances come, if they come at all after the turns. Is there any way to tweak this so that guidances are played well before a turn occurs?

It may also be because of the lagginess of Ovi maps. Would it be possible to load all the voices into memory so there would not be any lag. Even better would be to load only the voices which are need in the route only.
I'm jealous. I still have no voice. I will start from scratch.
 

The Following User Says Thank You to mscion For This Useful Post:
rooster13's Avatar
Posts: 319 | Thanked: 221 times | Joined on Jan 2010 @ Finland
#209
Originally Posted by mscion View Post
I'm jealous. I still have no voice. I will start from scratch.
Sorry dude, I did not mean to brag.

Hope you get it working.
__________________
Sail Raid, an old skool shoot'em up for Jolla
KillDroid, Android service killer for Jolla
goViihde, an Elisa Viihde client for Jolla
goViihde, an Elisa Viihde client for N9
Shortcut Stash Home Screen Widget
 

The Following 2 Users Say Thank You to rooster13 For This Useful Post:
Posts: 3 | Thanked: 1 time | Joined on Feb 2011
#210
Originally Posted by CormacB View Post
Is there a config.xml along with the sound files? You could also get the indonesian voice files from http://symbian.clanteam.com/indexmaps.htm or http://www.hpsblog.com/2009/07/direc...0-without.html

Step by step instructions for Indonesian:

I am assuming the indonesian voice files are zipped in a file called indonesian.zip from the linked site and all files are saved to MyDocs. Otherwise you might need need to change some paths.
  • Download index.html.gz from here http://talk.maemo.org/attachment.php...3&d=1295624977
  • Copy your voice files to your N900
  • Open X terminal and become root
  • Run
    Code:
    cd /usr/share/nokia-maps/html
    mv index.html index.html.backup
    cp /home/user/MyDocs/index.html.gz .
    gunzip index.html.gz
    cp /home/user/MyDocs/indonesian.zip .
    unzip indonesian.zip
    rm indonesian.zip
    cd indonesian/ind-bahasa_male
    for f in *; do mv $f $f.wav; done
  • You now should have config.xml in /usr/share/nokia-maps/html/indonesian and a bunch of wav files in /usr/share/nokia-maps/html/indonesian/ind-bahasa_male
  • Startup maps and create a route. It should automatically use the selected "id-ID" locale to pick the right sound folder.

Edit: the attached updated index.html will show an error message if it can't load the voice config. It also is possible to change the language used by renaming the folders or changing the _codeToFolder mapping in index.html

I also don't know if it is possible/how to change the language for maps so that I can test this myself
I Tried to make it work with greek voice files.

the first error that i have is
Failed to load voice config.xml from english_us for language en_US
locale returns:
Code:
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC=el_GR
LC_TIME=en_US
LC_COLLATE="en_US"
LC_MONETARY=el_GR
LC_MESSAGES=en_US
LC_PAPER=el_GR
LC_NAME=el_GR
LC_ADDRESS=el_GR
LC_TELEPHONE=el_GR
LC_MEASUREMENT=el_GR
LC_IDENTIFICATION=el_GR
LC_ALL=
the second notice, is that my GPS location it's wrong. it shows me around 1 km far away from the really point that i am right now.

soon i will test it again about the GPS location and i will report back if it is fixed or not.

Good job although!!

Thanks again
 

The Following User Says Thank You to Tzorvas For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 15:40.