Modifying/correcting TTS files   

Postby ClausAnd » Wed Sep 26, 2012 9:35 pm

OK - recap: the zip file from YT worked (but didn't include the changes to dictionary and .lua). Even a simple change of me made the system crash. No changes to .ph file or tts_nua_v5 catalogue

while you are looking for a solution you may watch these american danes competing in a danish reality tv-show

[Please Register or Login to download file]
ClausAnd offline


Junior Member



 
Joined: Wed Sep 26, 2012 7:34 am
Posts: 31
Has thanked: 0 time
Been thanked: 0 time

Postby ClausAnd » Wed Sep 26, 2012 10:46 pm

this thread seems to have halted - it's bedtime in europe - good night to everybody caring
ClausAnd offline


Junior Member



 
Joined: Wed Sep 26, 2012 7:34 am
Posts: 31
Has thanked: 0 time
Been thanked: 0 time

Postby Yurbuh Tuggly » Thu Sep 27, 2012 5:12 am

ClausAnd wrote:.lua files and dictionary seems to be unchanged / not updated

Everything you gave me (posted) was put in.
You did not give me a dictionary.voice file.
But that's just my opinion..I could be wrong.
Y.T.
Primo2.4 PrimoAndroid TomTomAndroid
Yurbuh Tuggly offline


User avatar Ex Moderator



 
Joined: Wed May 04, 2011 7:25 am
Posts: 1410
Location: Politzania
Has thanked: 0 time
Been thanked: 797 times

Postby ClausAnd » Thu Sep 27, 2012 5:50 am

My fault - but You did get the lua files...

New archive with both subdirectories: 4749
ClausAnd offline


Junior Member



 
Joined: Wed Sep 26, 2012 7:34 am
Posts: 31
Has thanked: 0 time
Been thanked: 0 time

Postby Yurbuh Tuggly » Thu Sep 27, 2012 6:23 am

Newly edited voice:
4750

Everything you provided was edited in/changed.
Example:
in config_database.lua...lines 247 and 248 (respectively) were:
Code: Select all
L"Derefter, tage den 3rd. %1 %4",
L"Derefter, tage den 2nd %1 %4",

Now:
Code: Select all
L"Derefter, tage den tredje %1 %4",
L"Derefter, tage den anden %1 %4",

Similarly, in dictionary.voice, line 11 was:
Code: Select all
%s. Limits.="%s. Limits."

Now:
Code: Select all
%s. Limits.="%s. Begrænsninger."


Voice loaded and tested on my device...does not crash, and 'says things'.:pray:
But that's just my opinion..I could be wrong.
Y.T.
Primo2.4 PrimoAndroid TomTomAndroid
Yurbuh Tuggly offline


User avatar Ex Moderator



 
Joined: Wed May 04, 2011 7:25 am
Posts: 1410
Location: Politzania
Has thanked: 0 time
Been thanked: 797 times

Postby Yurbuh Tuggly » Thu Sep 27, 2012 6:41 am

ClausAnd wrote:More - at least 2 - versions of faulty danish files are available for download. Why haven't anybody complaint about the quality before or tried to fix it? (it is not rocket science to do the text changes). I know there is several (non-IGO) well working TTS systems. Isn't it possible to 'borrow' components from such 'foreign' systems? If this nua solution is becoming ok - is it worth investigating a LOL solution? What does it take?


In all my time of being here, there has been only ONE request for a Danish voice..just a bit ago which you obviously saw.
This could be for 1 of 2 reasons:
1) BOTH Danes now have the voice (LOL). Maybe iGo in Denmark is not very popular. I hear some people use something called "TomTom" which also is believed to be able to navigate.
2) Danish speakers are commonly bi-lingual and settle for something like English.

No, bits from other programs (especially Voices) cannot easily (or ever) be used in iGO. Everything about voices is totally different and not compatible at all.
But that's just my opinion..I could be wrong.
Y.T.
Primo2.4 PrimoAndroid TomTomAndroid
Yurbuh Tuggly offline


User avatar Ex Moderator



 
Joined: Wed May 04, 2011 7:25 am
Posts: 1410
Location: Politzania
Has thanked: 0 time
Been thanked: 797 times

Postby ClausAnd » Thu Sep 27, 2012 7:57 am

It is great - but not without errors. I guess most of it is to be solved with adjustments to the lua files. If only I could find a way to rebuild the archive.....

I guess that IGO is widely used in Denmark without people knowing what they are using or how to customize it. They do come with well working natural voices for simple route directions and warnings. The danish vendors of various devices are just now beginning to ship with iGo Primo 1.2.1.

I'm not sure if I will go for the TTS in the end - depends on the quality. I guess that danish street names etc. requires a danish language setup to be understandable. I have managed to add TMC support to my system (RoadRover) and can't wait to listen to the announcements.

It makes no sense that you are able to compile the archive and I'm not. I will probably have to do a lot of adjustments to the files unless I can find out exactly what the %variables in the strings may hold (distance, number etc) - and even then I wouldn't expect it to be a first timer.

I hope I (we) find a solution for my rebuild problems as it would ease the process
ClausAnd offline


Junior Member



 
Joined: Wed Sep 26, 2012 7:34 am
Posts: 31
Has thanked: 0 time
Been thanked: 0 time

Postby Yurbuh Tuggly » Thu Sep 27, 2012 8:18 am

ClausAnd wrote:way to rebuild

That may be a mistake many people make...you do not "rebuild" or re-archive or re-zip or anything like that.
I am working on a specific tutorial that I will post later when I am done (with screenshots).
It really is not that difficult, but some people make it so by following old habits. Once you do it correctly the first time, it's a head-slapper for it's simplicity.
I did your file in less than a minute.
But believe me, I started out (long ago) with the same frustrating results: WTF!!! Why does this NOT WORK????

If you eventually DO get the file 'perfected', I would like your permission to make it available to others.
But that's just my opinion..I could be wrong.
Y.T.
Primo2.4 PrimoAndroid TomTomAndroid
Yurbuh Tuggly offline


User avatar Ex Moderator



 
Joined: Wed May 04, 2011 7:25 am
Posts: 1410
Location: Politzania
Has thanked: 0 time
Been thanked: 797 times

Postby ClausAnd » Thu Sep 27, 2012 8:30 am

Sure - no problem. After all it was given to me in the first place. If I understand which parts (info.ini, dictionary and lua) is used when I would be able to do it even better. Can't wait to get Your tutorial and finalize the solution
ClausAnd offline


Junior Member



 
Joined: Wed Sep 26, 2012 7:34 am
Posts: 31
Has thanked: 0 time
Been thanked: 0 time

Postby Yurbuh Tuggly » Thu Sep 27, 2012 9:31 am

See here:
How-to-edit-iGo-Primo-ZIP-files-with-WinRar

It's missing a couple extra screenshots near the end (limit of 5 per post), but most should be able to figure out what to click without a picture.
But that's just my opinion..I could be wrong.
Y.T.
Primo2.4 PrimoAndroid TomTomAndroid
Yurbuh Tuggly offline


User avatar Ex Moderator



 
Joined: Wed May 04, 2011 7:25 am
Posts: 1410
Location: Politzania
Has thanked: 0 time
Been thanked: 797 times

Postby ClausAnd » Thu Sep 27, 2012 10:52 am

this may be the fail safe way - but apparently not fool proof. I did exactly as described (changed one linie in info.ini) -and added an extra step: copy the zip to the SD Card.

my gps crashes again

my steps were as follows:
create 3 directories - patch, patch\backup and patch\work
copy .zip from sd-card and paste it to patch and patch\backup
open winrar and drag zip from patch to winrar
copy info.ini from backup zip to patch\work
open work\info.ini, modify one line, close with save
reopen and ctrl-a ctrl-c (select all and copy) close (no save)
open info.ini from root of zip within winrar
ctrl-a delete ctrl-v (select all, delete, paste)
exit notepad with save
confirm update off archive
close winrar
copy (modified) zip file from patch to sd-card
walk to my car to test - CRASH
copy zip file from patch\backup to sd-card
walk to my car to test - runs ok - no modification

so - what to do.
winrar is 4.11 (64bit) running win 7 prof sp1 (danish) - Norton 360 antivirus

I attach the faulty zip - maybe You can spot the error
ClausAnd offline


Junior Member



 
Joined: Wed Sep 26, 2012 7:34 am
Posts: 31
Has thanked: 0 time
Been thanked: 0 time

Postby berik » Thu Sep 27, 2012 11:10 am

Hi ClausAnd

Try winrar 4.01 or earlier
I am sure it will help you.

Take care
berik
berik offline


Junior Member



 
Joined: Sun Sep 05, 2010 8:37 am
Posts: 4
Has thanked: 48 times
Been thanked: 0 time

Postby Yurbuh Tuggly » Thu Sep 27, 2012 11:21 am

Well....I have to say...I don't have a clue.
I 'see' nothing wrong in the ZIP file.
I copied your attached voice file to my device....instant crash on loading.
So, following my own procedure, I took the info.ini from it, edited it into a known working Danish voice file....and it works.
SOMETHING is going on with your computer and WinRar. I don't know what, but it might explain why so many people seem to have so much trouble editing ZIP files...even when they claim to follow the procedure correctly...as it seems you did.
But that's just my opinion..I could be wrong.
Y.T.
Primo2.4 PrimoAndroid TomTomAndroid
Yurbuh Tuggly offline


User avatar Ex Moderator



 
Joined: Wed May 04, 2011 7:25 am
Posts: 1410
Location: Politzania
Has thanked: 0 time
Been thanked: 797 times

Postby ClausAnd » Thu Sep 27, 2012 11:47 am

WINRAR 4.01 is the solution:thumbup:

Thanks to berik

You've better add to Your description a list of supported winrar versions - starting with 4.01.
ClausAnd offline


Junior Member



 
Joined: Wed Sep 26, 2012 7:34 am
Posts: 31
Has thanked: 0 time
Been thanked: 0 time

Postby Yurbuh Tuggly » Thu Sep 27, 2012 12:00 pm

I use a version 10+ "points" beyond 4.01, and have no problems.
But if that works for some, I will add a Warning to my post.
But that's just my opinion..I could be wrong.
Y.T.
Primo2.4 PrimoAndroid TomTomAndroid
Yurbuh Tuggly offline


User avatar Ex Moderator



 
Joined: Wed May 04, 2011 7:25 am
Posts: 1410
Location: Politzania
Has thanked: 0 time
Been thanked: 797 times

PreviousNext

Return to General Discussions about iGO core

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 10 guests