Search Archive

IN PROGRESS: Fixing up Samantha

By Yettavr6 · Oct 31, 2008in Hacks/Mods💬 129 posts👁️ 35,128 views
Page 1 of 6
Posted Oct 31, 2008 · 02:30 UTC#1

If anyone is interested, i'm working on making Samantha a little more natural sounding and speaking proper US English. Hopefully no one has already done this. If so I appologize. If not, we should add this to the sticky once its actually done and uploaded.

 

So far what i've done and tested:

-Replaced "roundabout" with "traffic circle"

-replaced "turn back with "turn around" ...also considering changing it to "make a U turn"

 

Just now i've done the following but haven't tested. Will test on my way to work tomorrow and make changes as needed:

-slow the voice down to make it more natural. The demo clip of Samantha on her creator's website (Nuance) is slower and sounds much more natural

-change the way highway numbers are pronounced. e.g. instead of Route 422 being "four hundred twenty two" it will just be "four twenty two"

 

Once i test this and know that it is all working I will upload it as the entire zip file that can just be reimported using the directions on Pioneer's website for 2.0

Posted Oct 31, 2008 · 02:41 UTC#2

That is great. I would love to know when you have it ready for download

Posted Oct 31, 2008 · 03:33 UTC#3

if you could make her less robotic i'd actually use TTS

Posted Oct 31, 2008 · 03:57 UTC#4

This is one of the biggest complaints I have with the actual navigation component of the system. I don't even use TTS because it sounds so terrible.

 

Have you thought about adding another voice, that may be easier in the long run?

Posted Oct 31, 2008 · 05:16 UTC#5

i've tried looking for other voices... but haven't looked that hard yet..

Posted Oct 31, 2008 · 06:19 UTC#6

I found a voice called Susan on an iGo forum, that is supposed to be the clearest one available, but I haven't been able to get it to import yet. It looks like the filesystem structure on the F is different from a standard iGo device since the VR uses Samantha as well. The voice i downloaded has a folder called "tts_loq" that goes in the iGo directory, whereas the F has a folder called "ScanSoft" instead (Googling ScanSoft is where i found Nuance). Then the files inside these directories don't match up either. The voice has a couple of .lex, .vde, .sde, etc files, whereas the F has a ton of .dll and .dat files. At best I could probably get iGo to use the new voice, but VR would still use Samantha. I'll just need to figure out what file tells iGo which voice to use. After hearing the sample of Samantha on the Nuance website though, I'm convinced she could sound better with the speed turned down and a few other tweaks.

 

Also, something else i forgot: I'm also going to reduce the amount of prompts when using the TTS voice, but i need ideas of what the prompts should be. Right now for most situations there are prompts at 50, 100, 300, and 800 meters OR 50, 200, 500, 1000 meters. Some highway situations go out to 2000 meters. I'd like to reduce this to 3 prompts total i think, but i'm not sure which distances would be good. What do you guys/girls think?

Posted Oct 31, 2008 · 22:47 UTC#7

OK, i had a little progress today, but not really as much as i had hoped. Here's what i did:

 

-I mentioned in my original post that i had changed "roundabout" to "traffic circle" and "turn back" to "turn around". I've now changed "turn around" to "make a U turn". These have all been tested and work.

 

-I also mentioned that i slowed the voice speed down (from 50 to 40). This makes the voice slightly less irritating.

 

-I found a setting for each prompt type, that specifies a time period that must have past since the last prompt for that prompt to play. I changed some of these so that in many cases there will only be 2 prompts to turn instead of 4. If you are in the city stopping at alot of lights, or stuck in traffic, you will get more prompts then since the time period is more likely to pass. I think this is the best way to handle reducing the prompts. I tested this on my way home from work, and typically only received prompts at 1/2 mile, and make the next left/right, whereas on the way to work i would get 1/2 mile, 1/4 mile, 400 feet, and next left/right. The time period is also per maneuver so if you have two turns within a few seconds, you will still get the prompts for both.

 

-I found a 22khz version of Samantha from MioMap (ours is 11khz) and successfully got it working on the F after much trial and error, but it really doesn't sound that much better. It is slightly noticeable, but not the results I had hoped for. My VR also stopped working.

 

All of the changes I have made so far are in the commands.csv file within the TTS zip file. I will post this zip file in a few minutes for anyone that wants to try it

 

For the 22khz voice, you need to dump a bunch of files in the iGo\ScanSoft directory. I don't really want to post this yet until i figure out why the VR broke.

 

Also, there is a rules.ini file in the TTS zip file that defines how highway/exit numbers should be pronounced, but its not being used for some reason. Based on this file, 422 should be "four twenty two" and 202 should be "two oh two" but both are said with "hundred". I need to figure out why this file is not being used because it really annoys me being told to enter highway four hundred twenty two.

Posted Oct 31, 2008 · 23:42 UTC#8

Thanks for the update.

 

Here are some TTS voices I found: http://www.filestube.com/13f74da11125c5 ... tails.html

 

It may be worth trying to adapt those to work on the F-Series, but I haven't been able to figure out how to make it work.

Posted Nov 01, 2008 · 03:30 UTC#9

Keep me posted YettaVR6 on modding the voice. My only and I mean my ONLY complaint with the unit right now is how the voice never seems to STFU with the turns. It sounds like you did EXACTLY what I want to have done with the voice. Right now I have the mute button mod which is a beautiful thing, but it would be nice to not have to hear about my turn every 10 feet. Awesome work man!

Posted Nov 01, 2008 · 04:08 UTC#10

Attached is what i have so far. This will give you:

 

-Traffic Circle and U-Turn mods

-Reduced prompts

-Voice speed reduced slightly

 

To install, just put the zip file in a TTS folder on your SD card or USB memory stick, and follow these instructions from Pioneer:

 

10-1. Touch the button to the right of "Voice Language" and then choose "English (US) (Jason)" from the list.

 

 

 

10-2. Touch the button to the right of "Voice language" (which shows "English (US) (Jason)") again.

 

 

 

10-3. Touch the "TTS Setup" tab on the right bottom of the screen.

 

 

 

10-4. To update English TTS file, touch the "English (US) (Samantha):TTS" button.

 

 

 

10-5. Touch the "from SD" button.

 

 

 

If you cannot select "from SD", please check your system and SD card as follows:

 

Check your SD card to confirm that the SD card contains the correct folder and files in the correct format.

 

10-6. Touch the "English (US) (Samantha):TTS" tab. Then English TTS file will be updated immediately.

 

Try it out and let me know what you think about the frequency of the prompts. The voice quality is not really improved yet so don't expect much there 8)

Voice_TTS-nua-eng-us-f1.zip

Posted Nov 01, 2008 · 04:19 UTC#11

While you're at it, there's another things that bugs me (haven't seen anyone else reporting it). If you set units to miles/yards, she will pronounce distances as "do something in 2.5 mile ... ess"

 

I've traced it to distances_yd.csv file, what she is supposed to say is written as "mile,s" in the feet version, of course, it is written as "miles".

 

Beats me how these things got through quality control...

Posted Nov 01, 2008 · 04:27 UTC#12

Good catch. I hadn't even tried to use yards yet. The attachment above now has that fixed.

Posted Nov 01, 2008 · 05:27 UTC#13

Thanks. I tried using yards once (yards are closer to meters ;) ) but constant ...ess!!! drove me nuts.

Posted Nov 01, 2008 · 17:40 UTC#14

Tried using this tts and it was going REALLY Fast... back to Jason for now.

Posted Nov 01, 2008 · 17:53 UTC#15

DOH! I forgot to change the info.ini back to 11khz. I just fixed it and uploaded again :wink:

Posted Nov 01, 2008 · 19:26 UTC#16

You are my hero. I'll try it out tonight.

Posted Nov 01, 2008 · 19:44 UTC#17

Yep, that one I can at least understand.. will go for a drive later to further test.

 

Thanks

Posted Nov 03, 2008 · 18:02 UTC#18

I don't know if you got around to testing yet, but i did notice saturday night that although i was getting fewer prompts up to my turn, i would ofter get the final "take the next left/right" prompt twice in a row. I think i have now fixed that, and as we speak I am working on replacing Samantha completely. I was informed by a member on a GPS forum that Samantha ignores the rules.ini file, which is why she does not say highway numbers correctly. I am working on replacing her with Jill who supposedly complies with the rules :)

 

I'm going out to test right now...

P.S. if this works it will free up about 140MB on the internal storage.

Posted Nov 03, 2008 · 18:07 UTC#19

Awesome! Please keep us posted on your progress. I spent a few days working on replacing Jill, but couldn't make sense of Pioneer's file structure and how TTS voices were treated.

Posted Nov 03, 2008 · 18:12 UTC#20

Yea, the file structure seems to be hard coded in. When i replaced Samantha 11khz with Samantha 22khz i had to rename the new files to the same as the old, otherwise it just wouldn't work. Even though it would appear to import fine, it would keep playing Jason. I'm trying the same thing now with Jill, so even if it does work, its still going to be called Samantha. I also noticed that alot of the Nuance TTS files are duplicated in the VBT (voicebox technology) folder, but they don't seem to be needed, since the VR was using Samantha 22khz without me touching any files in that directory. There is also a ton of other voices in the igo\scansoft\realspeak directory which i'm attempting to delete since we can't choose them anyway, and they appear to be for other languages. That's how this would free up about 140MB (fingers crossed)

Posted Nov 03, 2008 · 18:43 UTC#21

Great job, this could easily be one of the most important and practical modifications for the F-Series.

 

Keep us posted on your progress, and let me know if you need any help.

Posted Nov 03, 2008 · 18:47 UTC#22

I tested your latest Samantha and it works great! The amount she talks was really the last major gripe about the unit, so thank you very much!

 

Also, I haven't heard her say the last prompt twice in a row yet. How does Jill sound different than Samantha? Is she "better looking"?

Posted Nov 03, 2008 · 19:17 UTC#23

Jill sounds much more natural than Samantha. I'll try to dig up the demo link that allows you to enter text and listen to various voices pronounce them.

 

Also, here is a link to a couple of other US English TTS voices that may be worth modding for the F-Series.

Posted Nov 03, 2008 · 19:42 UTC#24

Jennifer sounds "hotter".

Posted Nov 03, 2008 · 20:12 UTC#25

How about Jenna Jameson! hehe :twisted:

Page 1 of 6