Search Archive

HOWTO: add voice guidance mute button

By brink094 · Oct 15, 2008in Hacks/Mods💬 89 posts👁️ 38,357 views
Page 1 of 4
Posted Oct 15, 2008 · 22:03 UTC#1

I've found a way to add a button to the map screen that can mute/unmute the navigation voice guidance. Only the voice is muted, the AV sources and even the key beeps are not affected! Luckily for us Pioneer/iGo have already created mute/unmute scripts, we only have to add a button and run those scripts. :D

 

For this example I'm going to use some images that are already available on the avic, you can create your own icons if you want to. In this example a green button means voice guidance is on and a red button means the voice is muted. These buttons are only displayed on the right side of the map when there is an active route.

 

You can add this code to Data.zip/ui_pioneer/800_480/ui/navigatemap_800_480.ui inside the ui_NavigateMapButtons layer. I've attached a file with only this mod added.

 

; ** voice guidance is on, display green button

; ** voice guidance is off, display red button

 

As you can see, to mute the voice you can call the 'sc_mute_guidance_immediately' script and to unmute the voice you call 'sc_unmute_guidance'. These scripts are defined in Data.zip/ui_pioneer/common/ui/langvoice.ui

 

This setting is not remembered when you shut down the unit, so the next time you get in your car you have to mute the voice again...

 

Update: I've added some icons to the zipfile.

 

Update 2: Updated the zipfile to work with the 1.9/2.0 firmware, added the updated navigatemap_800_480.ui by mikeinnj.

ui_pioneer.zip

Posted Oct 15, 2008 · 22:42 UTC#2

Nice. So it is has_route... I was looking for it.

 

Technically, it would be rather trivial to have it save setting (register a permanent variable with sound.announcer.muted boolean model, but since we already have voice volume setting, I'm not sure if it is particularly needed.

Posted Oct 15, 2008 · 22:42 UTC#3

Awesome find, thanks so much for posting it here! That's going to make a lot of people REALLY happy!

Posted Oct 15, 2008 · 23:08 UTC#4
Nice. So it is has_route... I was looking for it.

 

Technically, it would be rather trivial to have it save setting (register a permanent variable with sound.announcer.muted boolean model, but since we already have voice volume setting, I'm not sure if it is particularly needed.

 

Thanks for the registermodel permanent pointer, I will try to add it tomorrow.

 

I think it would be a little bit easier and faster using this mute button than going through the setup menus. Usually I like to drive without voice guidance but sometimes when I'm driving somewhere unknown it is nice to have it on for the last part of the journey.. Now I have a easy unmute button :) This was one feature I was missing from my old TomTom.

Posted Oct 15, 2008 · 23:33 UTC#5

You're welcome.

 

You could do something like this in one of the variable definition files:

 

 

This will cause iGO to save variable value when you shut down the system

 

Other options:

 

Then the variable will track system's voice setting and a script will be called when it is changed.

 

or and then you can yuse it jusyt like you do sound.announcer.muted

 

iGO's programmintg is woefully undocumented, but extremely powerful...

Posted Oct 22, 2008 · 01:39 UTC#6

I downloaded your script and copied your code into my navigate file, the first four lines i think.

 

then went to avic and got a warning say button_volume.bmp could not be found and then it exited and my map and destinations buttons no longer worked.

 

edit: ok i just realized i didnt copy the icons over. BorisM i'm using your most recent navigate ui file, where should i insert this code?

Posted Oct 22, 2008 · 03:00 UTC#7

Insert what code? You had the code correct, you just need to make (or copy) a graphic file over so the system knows what image to use for the button. The image goes in your main UI directory.

Posted Oct 22, 2008 · 07:26 UTC#8

The images should go in the ui_pioneer\800_480 directory, they are in the correct location in the zipfile.

 

You can also use the lines from the first post, they use images that are already available on the avic, no extra images required.

 

If you already have a ui_pioneer\800_480\ui\navigatemap_800_480.ui file from another hack, add the lines from the first post to that file. The lines should go inside the ui_NavigateMapButtons layer that starts at line 6.

Posted Oct 22, 2008 · 14:48 UTC#9

Question on this, does it act like turning the master volume all the way down or turn off the prompts only. Here's why I ask that, when you just mute the master volume, the unit will still initiate a prompt, even when muted, and it will creat a quick dip in the music when that happens. So if you're city driving with a route up, your music will continually cut out to allow for the muted prompts to initiate. Any of that with this code?

Posted Oct 22, 2008 · 14:56 UTC#10

No, only the voice is muted. No beeps or dip in music volume :)

Posted Oct 22, 2008 · 15:00 UTC#11
edit: ok i just realized i didnt copy the icons over. BorisM i'm using your most recent navigate ui file, where should i insert this code?

 

In this case you'll want to apply the edit to my navigatemap file. (I assume you have it outside of DATA.ZIP). If you apply them to the one inside the archive, they will be overridden by the file outside.

Posted Oct 22, 2008 · 15:01 UTC#12
No, only the voice is muted. No beeps or dip in music volume :)

 

awesome!

Posted Oct 23, 2008 · 14:46 UTC#13
edit: ok i just realized i didnt copy the icons over. BorisM i'm using your most recent navigate ui file, where should i insert this code?

 

In this case you'll want to apply the edit to my navigatemap file. (I assume you have it outside of DATA.ZIP). If you apply them to the one inside the archive, they will be overridden by the file outside.

 

Ok i fixed it, nice job thank you both. BorisM, the button overlaps your detour button slightly. Is there a way to lower the button?

Posted Oct 23, 2008 · 14:58 UTC#14

You can change the y=280 value on both lines to lower the button. Depending on the amount of overlap, you can try adding 10, 20 or 30 pixels. I would try y=310 first.

 

Glad to hear you've got it working :)

Posted Oct 23, 2008 · 15:26 UTC#15
Ok i fixed it, nice job thank you both. BorisM, the button overlaps your detour button slightly. Is there a way to lower the button?

 

What brink094 said. At this point, you could also hide the detour button -- it doesn't do much of anything yet, and you can set detours from stock interface's itinerary screen...

Posted Oct 23, 2008 · 15:43 UTC#16
Ok i fixed it, nice job thank you both. BorisM, the button overlaps your detour button slightly. Is there a way to lower the button?

 

What brink094 said. At this point, you could also hide the detour button -- it doesn't do much of anything yet, and you can set detours from stock interface's itinerary screen...

 

I'd rather not hide it cause i like it being there even though it does little. But it does add a shortcut to my saved POI search for food :D

 

Boris, is this the line i change for detour:

 

edit: i made this line y=340 and it was enough.

Posted Oct 23, 2008 · 17:49 UTC#17

Yup, good :)

Posted Oct 27, 2008 · 00:38 UTC#18

Does anyone have screen shot of this??

I already have an added button for route cancellation from Stephanie, and I want to see where this one lands on the screen.

 

Thanks

Mike

Posted Oct 27, 2008 · 02:14 UTC#19

this button is right beneath the 'info' button on the right side of screen. if you have an ipod it would be right above the album art. it looks the same as the other buttons.

Posted Oct 27, 2008 · 23:50 UTC#20

Thanks for the help I installed the mute button but moved it to the left side of the screen

Mike

Posted Oct 29, 2008 · 14:56 UTC#21
The images should go in the ui_pioneer\800_480 directory, they are in the correct location in the zipfile.

 

You can also use the lines from the first post, they use images that are already available on the avic, no extra images required.

 

If you already have a ui_pioneer\800_480\ui\navigatemap_800_480.ui file from another hack, add the lines from the first post to that file. The lines should go inside the ui_NavigateMapButtons layer that starts at line 6.

 

Can theese buttons be added to the original Pioneer firmware without using any other hack?

Posted Oct 29, 2008 · 15:03 UTC#22
The images should go in the ui_pioneer\800_480 directory, they are in the correct location in the zipfile.

 

You can also use the lines from the first post, they use images that are already available on the avic, no extra images required.

 

If you already have a ui_pioneer\800_480\ui\navigatemap_800_480.ui file from another hack, add the lines from the first post to that file. The lines should go inside the ui_NavigateMapButtons layer that starts at line 6.

 

Can theese buttons be added to the original Pioneer firmware without using any other hack?

 

As far as I know yes. Just change the code in your own file, however modified it is.

 

 

BTW, Love this features, works much better then turning the master volume down.

Posted Oct 31, 2008 · 21:16 UTC#23

Dunno if anyone else has ran into this but I attempted to make the modification to a Data.zip file from the v2.0 update and once I put on the system it enters a reboot cycle. It will not load up until I go back into testmode and remove the modded data.zip and replace with the original one.

 

Any ideas anyone?

 

Chuck

Posted Oct 31, 2008 · 22:33 UTC#24

There is a syntax error in the file you edited. Double check what you did and try again.

Posted Nov 01, 2008 · 03:13 UTC#25

First I just copy and pasted and the second time I replaced the whole file with the one in the uploaded zip file. Yes I did put the three button pics in the appropriate folder both times as well. I am stumped.

 

Chuck

Page 1 of 4