Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Results 1 to 10 of 55

Hybrid View

  1. #1
    Junior Member
    Join Date
    May 2015
    Location
    São Caetano do Sul - SP - Brazil
    Posts
    8
    Rep Power
    0

    Default

    Quote Originally Posted by rafael2san View Post
    [...]
    Dont´t forget to add tts entries on dictionary.voice.

    Regards
    rafael2san
    Hi Rafael2San,

    Thanks for the tip, but I also made changes to the "dictionary.voice" file that is inside the TTS voice file. I forgot to mention it in my previous post.

    As I know you made changes to this skin "DiMka WA P.1.7.4 - Ultimate xxxxxx", I wish you could help me how to enable the "Second phrase (speed limit)" speech and “Announce speed units" speech. The "Phrase (distance to alert point)" button is enabled. When click on "Voice warning test" it's speech only the distance and the new warning type without speed limit and speed unit, because this options are not enable.

    I am looking at the following code in "setting.ui":

    <layer ui_wSLSoundTTS z=30>
    <DIV class=main>
    <TABLE tab_wSLSoundTTS class=vertical>
    <CHECKBOX class="btn_main_np topleft chk" text="Second phrase(speed limit)" boolmodel="lua.wSLTTSVoiceSecondPhrase">
    <CHECKBOX class="btn_main_np chk" text="Announce speed units" boolmodel="lua.wSLTTSVoiceSecondPhraseUnit" enable=%lua.wSLTTSVoiceSecondPhrase>
    <BUTTON class="btn_main bottomright icon value long" iconspr="ico_SimulateNavigation_mid.bmp#3" onrelease=sc_wSecondPhraseTTSSL_play enable=(!(%sound.voice_muted || %sound.os_muted)) dtooltip="Sound(master or voice guidance) is muted!">
    <TEXT class="name long icon" text="Voice warning test" right=0 bottom=0>
    </BUTTON>
    </TABLE>
    </DIV>
    </layer>

    But I haven't found the location where this variable "wSLTTSVoiceSecondPhrase" is defined. I hope you can help me make this warning work properly.

    Greetings,
    CYK
    Last edited by CYK; 30th August 2020 at 02:19 PM.

  2.    Advertissements


  3. #2
    Junior Member
    Join Date
    May 2015
    Location
    São Caetano do Sul - SP - Brazil
    Posts
    8
    Rep Power
    0

    Default

    Quote Originally Posted by CYK View Post
    Hi Rafael2San,
    [...]
    As I know you made changes to this skin "DiMka WA P.1.7.4 - Ultimate xxxxxx", I wish you could help me how to enable the "Second phrase (speed limit)" speech and “Announce speed units" speech. The "Phrase (distance to alert point)" button is enabled. When click on "Voice warning test" it's speech only the distance and the new warning type without speed limit and speed unit, because this options are not enable.
    [...]
    Hello people,

    I managed to solve the problem that had asked Rafael2San for help.

    I noticed that the variable "wSLTTSVoiceSecondPhrase" takes the value of "voicesecondtts" (enable or not "Second phrase (speed limit)") of the warning type in the parameter "sc_wCameraSetting_LoadDefault = function (model)" (in the "customized.lua" file) ).

    Although the type = 28 parameter was edited in "sc_wCameraSetting_LoadDefault = function (model)" (which is in the "customized.lua" file within the skin's compressed file) and as there was already a "camera_setting114_1.txt" file (within of the folder "\ save \ profiles \ 01 \ userlists") that saves the settings of all warnings, the change in "sc_wCameraSetting_LoadDefault = function (model)" did not take effect on the test screen of the warnings. So, I also had to edit the type 28 in this file "camera_setting114_1.txt" as below:

    From "28;0;0;!passcam;0;0;0;0;;0;0;0;0;300;300;0;0;0"
    For "28;1;2;!passcam;1;1;1;0;;0;2;0;0;0;0;1;1;1"

    I need to test to see if when changing from the default skin to the diMka skin, this file "camera_setting114_1.txt" is modified correctly.

    Greetings,
    CYK
    Last edited by CYK; 31st August 2020 at 02:16 PM.

  4. #3
    Junior Member
    Join Date
    May 2015
    Location
    São Caetano do Sul - SP - Brazil
    Posts
    8
    Rep Power
    0

    Default

    Hello Guys,

    I did some tests and verified that the file "camera_setting114_1.txt" is created when you change the default skin to the diMka skin only the first time. If another "camera_setting114_1.txt" file already exists, it will not resolve to change the skin used to the default skin and then return to "diMka WA P.1.7.4 - Ulimate xxxxxxxx", because the file "camera_setting114_1.txt" will not be updated and the configuration must be done manually by editing this file.

    Also, I verified that the last column of the configuration of each warning, refers to the enabling or not the priority of the alert using the TTS voice.:

    "28;1;2;!passcam;1;1;1;0;;0;2;0;0;0;0;1;1;1"

    Regards,
    CYK
    Last edited by CYK; 31st August 2020 at 01:24 AM.

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •