|
|
2011-04-26
, 04:01
|
|
Posts: 362 |
Thanked: 143 times |
Joined on Mar 2008
|
#621
|
|
|
2011-04-26
, 05:43
|
|
|
Posts: 1,455 |
Thanked: 3,309 times |
Joined on Dec 2009
@ Rochester, NY
|
#622
|
It appears that if you would add the option of embedding the language voice string(eg. mb-en1, mb-us2); then user can setup espeak+mbrola himself and he would have a better sounding voice for navigation.

cd /opt/espeak/data/voices mv default default.old ln -s mb/mb-us1 default
| The Following 5 Users Say Thank You to woody14619 For This Useful Post: | ||
|
|
2011-04-26
, 10:59
|
|
Posts: 362 |
Thanked: 143 times |
Joined on Mar 2008
|
#623
|
and it is great that our espeak maintainer has kept arm version of espeak up-to-date. |
|
2011-04-26
, 20:38
|
|
|
Posts: 1,455 |
Thanked: 3,309 times |
Joined on Dec 2009
@ Rochester, NY
|
#624
|
What I did seems ok, however, I don't think it is 'clean' enough. I think the mbrola file should be on its own folder instead of the /sbin.
/sbin is usually root only, so it may have problems with running things from user if you put i there.
thank you for your code, that means we don't have to bother MartinK and other voice-app author so they will have more time to give us other cool features.
But having it as an option as well, like a generic "speech string" would be nice. The default could be espeak "%s" then if you want to customize the voice (or use a separate speech program entirely), it's a simple options setting?
| The Following User Says Thank You to woody14619 For This Useful Post: | ||
|
|
2011-04-26
, 20:51
|
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#625
|
I agree.But having it as an option as well, like a generic "speech string" would be nice. The default could be espeak "%s" then if you want to customize the voice (or use a separate speech program entirely), it's a simple options setting?
|
|
2011-04-27
, 01:51
|
|
Posts: 362 |
Thanked: 143 times |
Joined on Mar 2008
|
#626
|
Is it possible to specify a custom path to the mbrola voices to espeak ? If so, I could make modRana look into a folder in MyDocs, say MyDocs/mbrola_voices and modify the espeak command-line parameters appropriately if it finds some mbrola files there.
GUI editable espeak string should be also doable
| The Following User Says Thank You to cheve For This Useful Post: | ||
|
|
2011-04-27
, 18:48
|
|
|
Posts: 1,455 |
Thanked: 3,309 times |
Joined on Dec 2009
@ Rochester, NY
|
#627
|
Is it possible to specify a custom path to the mbrola voices to espeak ? If so, I could make modRana look into a folder in MyDocs, say MyDocs/mbrola_voices and modify the espeak command-line parameters appropriately if it finds some mbrola files there.
GUI editable espeak string should be also doable
|
|
2011-05-03
, 00:24
|
|
|
Posts: 1,455 |
Thanked: 3,309 times |
Joined on Dec 2009
@ Rochester, NY
|
#628
|

56: self.espaekProcess = subprocess.Popen(['espeak', languageParam, '-s 120','-m','"%s"' % output]) 70: self.espaekProcess = subprocess.Popen(['espeak', languageParam, '-s 120','-m','"%s"' % text])
After about 3000 tiles get loaded, when it tries to load from the sqlite database, it fails and re-downloads. The log keeps saying:loading the image buffer from sqlite to pixbuf failed:Unrecognized image file format

|
|
2011-05-04
, 00:37
|
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#629
|

see below for a howto
Ok... Two problems.
One: In mod_voice.py, you call out the voice to use, so even if you override the voice, it defaults back to the language locally set...
The string can be directly edited in an entry dialog & there is a button for reseting the string to default value 


Two: There's a problem with tile caching in sqlite.After about 3000 tiles get loaded, when it tries to load from the sqlite database, it fails and re-downloads. The log keeps saying:
And after, it looks like it re-opens the database, then say is sql commit went OK, but if I close and re-load, it fails the same way. Interestingly, when I first start up, since I'm in the same area as the initial tile download (the first tiles the db has), it works fine. Only once I go to the area past the first thousand tiles or so do I get this error.Code:loading the image buffer from sqlite to pixbuf failed:Unrecognized image file format
Attached is the run log. If you'd like a copy of the zipped sqlite database set, let me know. It's just under 1M.
It might help if you also include your current settings file (/opt/modrana/data/options.bin) - eq. I can test in the same environment, settings-wise.| The Following 9 Users Say Thank You to MartinK For This Useful Post: | ||
|
|
2011-05-04
, 06:30
|
|
Posts: 92 |
Thanked: 95 times |
Joined on Feb 2010
@ Smyrna, Atlanta / Bangalore, India
|
#630
|
| The Following User Says Thank You to bipinbn For This Useful Post: | ||
![]() |
| Tags |
| bada rox, martin_rocks, modrana, navigation, openstreetmap, the best, wehasgps |
|