Active Topics

 



Notices


Reply
Thread Tools
Blaizzen's Avatar
Posts: 397 | Thanked: 802 times | Joined on Jan 2010 @ Sydney
#291
Originally Posted by ivgalvez View Post
I think it will be faster to provide a package that patches the default files. I wouldn't count on Nokia allowing the redistribution of any modified file.
Tried to make the patch file...

index.html = 1.44 MB
patch file = 1.9 MB

I think its sufficient to say I failed

If anyone can make the patch file and keep it small, that would be awesome. But for now, I give up.
 
Posts: 1,397 | Thanked: 2,126 times | Joined on Nov 2009 @ Dublin, Ireland
#292
What are you using to find the differences?
 

The Following User Says Thank You to ivgalvez For This Useful Post:
Blaizzen's Avatar
Posts: 397 | Thanked: 802 times | Joined on Jan 2010 @ Sydney
#293
The Diff command in linux. The main issue I've encountered is the original file has all the javascript and css condensed, which I needed to expand before modifying. To make a small enough patch with only the changes, I tried to recondense the javascript and css, but it'll always be slightly different given its complexity, hence the diff function just gives me a patch file with pretty much the whole index.html file not the changes.

It was my first go at the diff command, and so I used this:
http://hansengel.wordpress.com/2007/...in-unix-linux/
diff -Naur <original file> <modified file> >> my_patch.patch

Maybe I did it wrong
 
Posts: 362 | Thanked: 143 times | Joined on Mar 2008
#294
Originally Posted by rantom View Post
You do realize that you are not allowed to do that? The code is closed source and sharing it is not allowed. Editing the code is in gray area.
@rantom:I would think it would fall under 'fair usage'. Furthermore, if you really want to be picky and carry this "closed source, sharing not allowed logic" to extreme; then I think you would better revert all the changes you have ever made to your own N900. The reason is that I do not believe the license(s) have listed explicitly what you CAN NOT/CAN modify your device.


@Blaizzen: thank you very much for your work to extend the OVI map usefulness for me/us. it is appreciated.


Cheers,

Last edited by cheve; 2011-03-19 at 02:47.
 

The Following 3 Users Say Thank You to cheve For This Useful Post:
Posts: 1,397 | Thanked: 2,126 times | Joined on Nov 2009 @ Dublin, Ireland
#295
Try with Kdiff3, I've always find it much more powerful than simple diff.
 

The Following User Says Thank You to ivgalvez For This Useful Post:
x61's Avatar
Posts: 932 | Thanked: 278 times | Joined on Sep 2009 @ Kentucky
#296
Is this available to download in the extra-devel or testing? Simple question is how to I install this? Will it completely replace the existing ovi maps?
 
Blaizzen's Avatar
Posts: 397 | Thanked: 802 times | Joined on Jan 2010 @ Sydney
#297
Originally Posted by x61 View Post
Is this available to download in the extra-devel or testing? Simple question is how to I install this? Will it completely replace the existing ovi maps?
I hope that eventually it'll be available for download from extras-devel. But to do so, I wanted to automate the modification of the index.html file, so you wouldn't need to do anything but install the server (hence why I decided to rewrite it, along with I didn't know enough python to build upon the previous one). The only problem is I wanted to do it properly, therefore either asking permission from Nokia to modify and distribute the file, or use the patch method. Once either is sorted out, I'll attempt to upload a version of omvoiceserver with all the required files/changes etc.


Edit: I will also try fix the volume issue, that was reported above.
 

The Following 8 Users Say Thank You to Blaizzen For This Useful Post:
titi974's Avatar
Posts: 345 | Thanked: 72 times | Joined on Dec 2009 @ Reunion Island
#298
Man, you made my day =D
I was going to ask for help on how to make french voices work but... I just tried again and guess what "Vous arrivez à destination" ! (means "you are arrived")
Now that rocks =P
can't wait to see the new version ;D
Thanks for bringing this possible !

EDIT: Oh and yeah, the GPS fix is very fast now =O (I mean precise one, because for approx. i'm using supl.google.com which is quite good)

EDIT 2: Just tested near my house, lol very funny cause there's a part in french, and another in english. But it depends on the fact if it will use the sampled voice or not.
e.g: ONE HUNDRED AND TEN mètres, tournez à gauche
(-> ONE HUNDRED AND TEN meters, turn left)
But : Dans 100 mètres, tournez à gauche
(-> In 100 meters, turn left)

Very funny, helps me to practise my english lol
__________________
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

Last edited by titi974; 2011-03-19 at 06:56.
 

The Following User Says Thank You to titi974 For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#299
Bonjour titi.

Do You use the python server with speak_02.py?
Then You already modified that file to match the specific language folder (to french):
SOUNDPATH = 'english/english_male/' #relative to where you run the server

just continue with the next lines
if len(sys.argv) < 2:
language = 'english'
else:
language = sys.argv[1]

and replace english with french and you will hear:
CENT ET DIX mètres, tournez à gauche

Another possibility is to call the python script with parameter 'french':
nohup ./speak_03.py french >/dev/null &
 
titi974's Avatar
Posts: 345 | Thanked: 72 times | Joined on Dec 2009 @ Reunion Island
#300
hum, gonna test it right now ! =D

EDIT: I changed english with french, but still it keeps saying "SIXTY HUNDRED mètres, tournez à gauche"
__________________
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

Last edited by titi974; 2011-03-19 at 11:55.
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:33.