Motorcycle road trip, filter distance announcements and waypoint names
  • Hi all,
    Many of us are bikers.
    We often use Gpx files with multiple waypoints to guide us to cool routes.
    Certain waypoints such as coffee break, pee, restaurant, bar, etc. are useful to us and we want them to be announced, before and at their position.
    On the other hand, the intermediate waypoints are not useful to us and their announcement is painful.
    I found how to turn off the announcement of the unnecessary waypoint distance as well as the announcement of its name at the location.
    The other useful waypoints are always announced by distance and name.
    If you are interested and Tomas authorizes me, I will post a video of a simulation on the forum.
    Good evening to all. ;)
    Denis.
  • 37 Comments sorted by
  • I would like to see. ;-)
  • Ok Oldie ;)

    Sorry, the sound is not very good ....
    The list of points:
    - Start
    - Waypoint number 1: Restaurant stop: TTS on
    - Waypoint number 2: Not useful : TTS off
    - Waypoint number 3: Stop to take photos: TTS on
    - Waypoint number 4: Not useful : TTS off
    - End : the name of the destination : TTS on

    The link :
    https://photos.app.goo.gl/p29MQB8eRQEWY4BA8
    Click on the video to see

    ;)
  • Merci! It is a nice feature. But I would take no special effort for me to implement that. If it comes with Navigator, would be good!
  • Hello MacDony from the beautifull Alsace !

    I have a question about this post I just discovered :
    Where do you put the TTS on or off comment ?
    Directly in the GPX file between the name tags ?
    (for example "<name>Etape 3: TTS off</name>")
    Or in another place ?

    En français tant qu'on y est :
    Bonsoir MacDony.
    Les TTS on ou TTS off tu les mets où ?
    Directement dans le fichier GPX au niveau des balises "name"
    (par example : "<name>Etape 3: TTS off</name>")
    Ou alors ailleurs ???

    Merci à toi pour toute réponse !

    Roland
  • I answered myself my question by modifying one of my GPX files, and yes if works if you write for example "<name>Etape 3: TTS off</name>"

    No sound before and when passing the waypoint !

    That's a nice feature !

    Many thanks !

    Roland
  • Salut Rollmops67,

    Non, c’est plus simple que ça,:
    Tu mets le signe % devant ou derrière le nom de ton wpt 
    Et il ne sera pas prononcé 

    Denis 
  • YES ça marche aussi !
    Merci et bonnes fêtes de fin d'année !

    Salutations motaradesques,

    Roland
  • Inserting % does suppress the announcement of the name of the waypoint but still announces "Waypoint" reached etc. Is this the correct behaviour?
  • Hi stavrich,
    Inserting% suppresses the announcement of the waypoint name and removes the announcement of the distance to the waypoint and removes the announcement of the waypoint reached.
    Denis 
  • For me it's like stavrich says: All announcements of waypoints still remain, only the name of the waypoint is suppressed. My version is 6.0.249, the waypoint name is e.g. "%1".
  • Hi,

    Version 6.0.250

    Waypoints %1 etc ... are not spoken, neither the distance nor the arrival at the waypoint.
    like in my video at the top of this topic.

    In the Navigation voice settings:
    - voice engine: Google speech synthetized
    - voice language: French: Synthetized

    Denis
  • I tried it in french, here it is as Denis describes and how I'd like it. In german and english unfortunately this is not the case.
  • Haaa !!

    I just remembered that last year I made changes in the Navigation.xml file for this function!

    I added the TTS for the waypoints in the French part.

    Oupps, sorry, it only works for French ...

    Or you have to modify the file for the German and English version ....

    Denis
  • Hi Denis!

    Having no idea how the TTS-thing is working I just entered the section modified by you regarding "waypoint reached" in the german part of navigation.xml, but it didn't help:

        <manoeuvre_tts>
          <!-- Etape [NAME] atteinte (MacDony) -->
          <type>waypoint_reached</type>
          <file>Fx-WP-00-01,%WAYPOINT_NAME,Fz-WP-20-10</file> <!-- etape - Nom de l'etape - atteinte -->
        </manoeuvre_tts>

    Did you make any other changes?

    BTW: How did you get version 6.0.250? The link in https://forum.mapfactor.com/discussion/8984/test-of-android-version-6-0-x/p1 delivers 6.0.249
  • For version 6.0.250 it is an update by the playstore
    I will be doing some research on what I modified in the navigation.xml file and the tts.xml file
    What is the name of the German version?
    French = <languages> fr </languages>
    German =?
    Denis
  • I found :
    <languages> de, de-female_navilock, sv </languages>
    that's it ?!
  • I made the following 3 modifications:

        <manoeuvre_tts>
          <!-- Destination [NAME] atteinte (MacDony) -->
          <type>destination_reached</type>
          <file>A-WP-02-00,%WAYPOINT_NAME</file> <!-- Vous etes arrive a destination - Nom destination -->
        </manoeuvre_tts>

        <manoeuvre_tts>
          <!-- Dans [100, 500, 1000, 2000] [metres, yards, kilometres, miles] etape'NAME' -->
          <type>waypoint</type>
          <file>Bw-,%DISTANCE_AND_UNIT,-10,%WAYPOINT_NAME</file> <!-- dans 200 mètres - Nom etape -->
        </manoeuvre_tts>

        <manoeuvre_tts>
          <!-- Etape [NAME] atteinte (MacDony) -->
          <type>waypoint_reached</type>
          <file>Fx-WP-00-01,%WAYPOINT_NAME,Fz-WP-20-10</file> <!-- etape - Nom de l'etape - atteinte -->
        </manoeuvre_tts>
  • To explain my modifications
    as by adding the sign% the name of the waypoint is not pronounced, I merged the 3 lines of TTS code into 1 line of TTS code example:
    this function is made up of 3 TTS lines:

    <manoeuvre_tts>
          <!-- Waypoint [NAME] reached -->
    <type>waypoint_reached</type>
     <file>Fx-WP-00-01</file>
    <file>%WAYPOINT_NAME</file>
    <file>Fz-WP-20-10</file>
    </manoeuvre_tts>

    My modification is:
    <manoeuvre_tts>
          <!-- Etape [NAME] atteinte (MacDony) -->
          <type>waypoint_reached</type>
          <file>Fx-WP-00-01,%WAYPOINT_NAME,Fz-WP-20-10</file> <!-- etape - Nom - atteinte -->
        </manoeuvre_tts>

    you have to put "," between each TTS text

    Denis
  • @MacDony - thanks for the clarification. Had a look at the file but it seems not to be as simple in EN language as is in FR languages.

    I could not see those lines under the EN section but can be found in english under different language sections.

    Do I need to modify them all or just add modified lines under the EN section.
  • Hi stavrich,

    which voice do you use?

    Be careful, with each update, the navigation.xml file will be overwritten.
    If the changes work for your language, Tomas or Stepan must agree to put it in the update.

    Denis
  • I entered the three MacDony modifications (destination_reached, waypoint, waypoint_reached) in the german section of navigations.xml as well as in the "any_other" section, but it didn't work as expected.
  • Hi JambaFee,

    I made the modification for German language and it works fine. 

    I have adjusted the parameters:
    Einstellungen -> Navigationsstimme:
    Sprachprozessor: Synthese vocale Google
    Sprache der Stimme:
    Deutsch:
    Synthetisiertes
    Deutsch (DE)

    The file link is here: Link removed by MacDony

    The arrow at the top right to download the file

    First, you have to delete the navigation.xml file and then put the new file in the folder.

    Denis
    ;)
  • Hi Denis,

    that's exactly what I did. Regarding "waypoint reached" it works (waypoint name "%1" ==> no sound, waypoint name "1" ==> "waypoint 1 reached").

    The problem is the announcement (2000, 1000, 500, 100): It is always suppressed, no matter how the waypoint is named.

    If I change language to French everything works fine. After applying your modifications to the english section it works in english as it should as well.

    Did it work for you in german with both types of waypoint names ("1" and "%1" e.g.)?
  • Hi JambaFee,

    I don't understand the guidance in German, but I made a video

    https://photos.app.goo.gl/GR59kHCPwzJtEqy28


  • Voice Engine - Google Text-to-Speech
    Voice Language - English: Synthetised English (GB)

    If getting working I will ask Tomas or Stepan to incorporate in the updates. They have done some waypoint in TTS.xml  changes for me already.
  • Hi stavrich,

    I made the modification for the English language (GB) and it works fine for me, to test.

    Voice Engine - Google Text-to-Speech
    Voice Language - English: Synthetised English (GB)

    The link to the file: Link removed by MacDony

    The arrow at the top right to download the file

    First, you have to delete the navigation.xml file and then put the new file in the folder.

    Denis
  • @MacDony

    Your video shows the same problem that I have: Waypoint "222" is not announced (in french would be "dans 500 mètres 222), only the "waypoint reached" message is spoken. What you hear in german before waypoint "222" is the roundabout message.
  • Hi JambaFee,

    I found the problem for the German language, I correct and I put a new link 
    ;)
  • Hi JambaFee and Stavrich  :D

    Der neue Link für die Datei Navigation.xml:
    The new link for the Navigation.xml file:

    The arrow at the top right to download the file

    First, you have to delete the navigation.xml file and then put the new file in the folder.

    You test if everything works well and you tell me if it's Ok

    Denis
     ;)

  • Yes, that way it works. But unfortunately regarding "<type>waypoint</type>" in german it's grammatically wrong.

    To sound correct the phrase had to be:

    ...
    <type>waypoint</type>
    <file>Dy-,%DISTANCE_AND_UNIT,-01,Dz-WP-01-10,%WAYPOINT_NAME</file>
    ...

    But then we have the original problem, that, when using a %-waypoint name, only the phrase %WAYPOINT_NAME is suppressed. The parts e.g. Dy-500m-01 and Dz-WP-01-10 nevertheless are pronounced.
  • Hi JambaFee,

    you can put the translation in German and French of the exact sentence
  • Hi folks,

    I would like to relaunch this thread because I tried MacDony's navigation_janvier.xml and discovered several problems in german language. As JambaFee said, with announcing (in xx meters, waypoint name) it's grammatically wrong in German, but for some unknown reasons I couldn`t get the code waypoint

    Dy-,%DISTANCE_AND_UNIT,-01,Dz-WP-01-10,%WAYPOINT_NAME

    get to work properly.

    So I took MacDony`s file navigation-janvier.xml, and based on this I changed a few things in the "de,de-female_navilock,sv" section:

        <manoeuvre_tts>
          <!-- Ziel erreicht [NAME] (MacDony JambaFee 2highlander) -->
          <type>destination_reached</type>
          <file>A-WP-02-00,%WAYPOINT_NAME</file>
        </manoeuvre_tts>
        <manoeuvre_tts>
          <!--[Durchfahrtspunkt NAME in xx m,km,yds, mls] (MacDony JambaFee 2highlander)-->
          <type>waypoint</type>
          <file>Fx-WP-00-01,%WAYPOINT_NAME,Bw-,%DISTANCE_AND_UNIT,-01</file>
        </manoeuvre_tts>
        <manoeuvre_tts>
          <!--Durchfahrtspunkt [NAME] erreicht (MacDony JambaFee 2highlander) -->
          <type>waypoint_reached</type>
          <file>Fx-WP-00-01</file>
          <file>%WAYPOINT_NAME</file>
          <file>Fz-WP-20-10</file>
        </manoeuvre_tts>

    It seems to be important which expressions are in one code line and which are seperated with an own tag. I fiddled around a lot with that, but at least Google TTS with synthezised German language now announces as follows:


    Listed waypoint name WITHOUT inserted %:
    ===================================
    (waypoint) - (waypoint name) - (in xx kilo-meters)


    Listed waypoint name WITH inserted %:
    ===================================
    (waypoint reached)


    My intention was to get rid of the distance announcements because many waypoints created by setting them on the map screen contain ID's like "ID 5000632456769, 6000639456760" (interpreted as meters!) that maltreat my ears without mercy, but at the same time it was important to me to hear when a waypoint was passed.

    Provided the consent of the devs and liking my changes I would upload the whole file and post a link for download after further testing.
  • Am I to assume that's an OK? If so, feel free to include my changes in future updates, file link will be posted tomorrow
  • Hi 2highlander,
    The modifications would have to be tested by a German.
    Personally, I don't use navigator anymore because they don't fix the exit names bug reported for more than 2 years.
    Good day.
  • Oh, that's too bad, I will miss Your always constructive and helpful contribution here. A bugfix may take some time but 2 years is bordering on intent and truly does not shed a good light on the devs. At this point, my understanding as a betatester also ends.

    Anyway, I`m a bavarian native from Germany, will do a few further tests and then post a link -  after the exit names bug has been solved.

    So take the chance to bring MacDony back devs! :)]

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion