Active Topics

 



Notices


Reply
Thread Tools
Posts: 118 | Thanked: 15 times | Joined on Jul 2010
#311
the patch work.
But everytime i reboot the device. The ovi maps muted again. And i need to re-do some steps in the tutorial to wake the voice guidance up.
 
Posts: 1,203 | Thanked: 3,027 times | Joined on Dec 2010
#312
Has anyone tried replacing espeak with festival yet? Just wondered if it was any less robotic
 
titi974's Avatar
Posts: 345 | Thanked: 72 times | Joined on Dec 2009 @ Reunion Island
#313
festival ? is it already developped for the n900 ?
one other question, finally, did anybody manage to implement both portrait and landscape mode ? as i saw some time ago that a hack had been made to implement portrait but only portrait...
__________________
N900 addicted :P

PC :
MSi K9N2 Diamond, AMD Phenom 9950 BE @ 3.2ghz, 2x2GO DDR2 G.Skill Extreme Pi Black PC8500, Sapphire ATi Radeon HD 4890 Vapor-X, Hitachi 1To sata II
 
Blaizzen's Avatar
Posts: 397 | Thanked: 802 times | Joined on Jan 2010 @ Sydney
#314
Are you feeling adventurous? Want a little excitement in your life? Want to potentially break OVI maps and all the hard work you did to get voice commands working? Then its your lucky day, cause I've decided to release my latest version of OmVoiceServer and new index.html page. Why shall I install this version you ask? Well... good question, cause it contains stuff!
  1. Allows a log of sent commands and allows saving log or clearing
  2. Allows turning off eSpeak commands
  3. Allows testing of commands (from voice files) as well as what phrases will sound like in espeak
  4. Allows changing of eSpeak volume and languge selection
  5. Reads the xml data and correctly says the commands
  6. Allows for changing of languages during runtime
  7. Full of more bugs
  8. And not much more!

It uses a different method to play sound files compared to the python server, hence they are incompatible. All sound commands are sent now as maneuver types (ie Junction LeftTurn) and are indicated as Sounds (ie http://127.0.0.1:9999/Sound/150|km|roundabout|roundabout2|onto|test street). The reason for using Sound/{commands} is it allows me to use different beginnings for different things, so currently it allows searching too (which is still online), but it logs the search requests. I also wanted to allow a speed feature, where it would send the current speed and if it is over a limit, to make a noise. This will also allow other possibilities (maybe even reading POI from a file and displaying it to the user in the html etc).

Issues/To do:
  • Forgot to put the "save log" and "clear log" buttons under the first tab only... minor issue will be fixed in next version
  • Relies heavily on correct xml config files. Hence any missing item will cause it to break. Currently from the languages tested, seems Arabic is broken. The fix seems easy so if you want to use a language and its not working, let me know and i'll upload a fixed config.xml
  • XML parsing is not 100%. Will hopefully be updated in the future
  • Still not a 100% self contained installer (and I doubt it will be for a while)
  • Have some form of offline searching implemented - will try to make it if you search for "poi-home", instead of looking online, it'll just bring up a saved xml file instead. Hence allowing for a semi-usable poi system.

In terms of the offline search, seems that going down the path of reading the map data myself might be a little difficult. I've been looking at functions in the plugin and found something promising, for reverseGeoCoding it uses
binder._finder.reverseGeoCode(searchType, igeocoords);
looking at the dll in a hex editor (qtcreator is a great hex editor btw), it seems there is a geoCode function, which should be what we need. However I have no idea how to call it, if its really the function I want, or how to return values from it. But i guess its another option.

As usual let me know of any bugs, feature requests (I've looked into automatic route recalculation once you move off the path, but no leads yet) and other stuff you wish to share/comment on.

And I know all that about "do not distribute Nokia's code" etc, but I really can't be bothered anymore, I'm not doing this for any personal gain, nor do I profit from this in any way. If you'd all be happier with a 2 meg patch for a 1 meg file, I'll gladly do that. And I did ask the council, but no reply for over a week. Like I've said before, delete the thread if its a major issue.

http://maemo.org/packages/view/omvoiceserver/
Attached Files
File Type: zip index.zip (222.8 KB, 1338 views)

Last edited by Blaizzen; 2011-03-31 at 12:26.
 

The Following 33 Users Say Thank You to Blaizzen For This Useful Post:
Blaizzen's Avatar
Posts: 397 | Thanked: 802 times | Joined on Jan 2010 @ Sydney
#315
Originally Posted by titi974 View Post
festival ? is it already developped for the n900 ?
one other question, finally, did anybody manage to implement both portrait and landscape mode ? as i saw some time ago that a hack had been made to implement portrait but only portrait...
As for portrait mode in Maps, check here http://talk.maemo.org/showthread.php?t=69885

I personally won't be working on it though.
 
Posts: 1,203 | Thanked: 3,027 times | Joined on Dec 2010
#316
Originally Posted by titi974 View Post
festival ? is it already developped for the n900 ?
one other question, finally, did anybody manage to implement both portrait and landscape mode ? as i saw some time ago that a hack had been made to implement portrait but only portrait...
There is a port in extras-devel. I just wondered if anyone had tried sending commands to that rather than espeak.
 
woody14619's Avatar
Posts: 1,455 | Thanked: 3,309 times | Joined on Dec 2009 @ Rochester, NY
#317
Originally Posted by Android_808 View Post
There is a port in extras-devel. I just wondered if anyone had tried sending commands to that rather than espeak.
I tried using flite a few times... It creates Wav files correctly, but sounds somewhere between a mosquito to a chipmunk when playing audio to the device directly. The original author ported it for the N800 and cross-compiled it for the N900 but didn't have an actual N900 to test it on.

So, festival kind of works, but could use some patching before it's actually useful for real world use.
 
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#318
Voice files can be downloaded by Nokia Map Loader. It set voice path in file (voicefiles section, relative to MyDocs):
/home/user/MyDocs/.qf

Blaizzen can you change default voice path to this?
 
Posts: 362 | Thanked: 143 times | Joined on Mar 2008
#319
All,

link to discussion and more recent versions of OVI map: http://discussions.europe.nokia.com/...ht/true#M28220. Make sure you checkout post #5 of the linked thread above for information.

you may also want to checkout this older link for info
http://discussions.europe.nokia.com/...t/td-p/686081#

Cheers,

Note: I have not tried the new map on my N900 yet, just find out the link recently.

Last edited by cheve; 2011-04-01 at 15:14.
 
Posts: 561 | Thanked: 75 times | Joined on Jan 2010 @ Spain
#320
I do not get it to work.

I do not know howmake the voices , orwhere to get them .

The system also speaks eSpeak using the Maps application.
 
Reply


 
Forum Jump


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