View Single Post
Blaizzen's Avatar
Posts: 397 | Thanked: 802 times | Joined on Jan 2010 @ Sydney
#123
Originally Posted by Android_808 View Post
blaizzen: the config.xml file can announce distances based on its evaluation. if we can get the timetoannounce, distanceto/from etc. code working this should be simple replicate. In terms of street names, I have seen a value scattered around the translation code called ausestreetname, Not sure how its defined yet, only spotted it looking for something else. Might have some use to your code, so that it only announces street name if it has to.
Your right, for the street name part, it will only add the streetname if aUseStreet is sent as true. I've made a new function called getSound based on getDescription:
Code:
        getDescription: function (aTranslator, aUseStreet, aFormat) {
            var streetPlaceholder = "{0}";
            var signpostPlaceholder = "{1}";
            var formatPlaceholder = "{0}";
            var descriptions = [];
If aUseStreet is false it doesn't add the street name, nor does it add the "onto", so it plays only sound files.

I'm actually looking forward to the config.xml parsing you and CormacB are doing as it'll be much more professional and easier to change in the future. I'm only using this hardcoded method just for testing, and since I couldn't get the parser working.


Originally Posted by bandora View Post
Is it possible to make Ovi Maps use Nokia's Voices (navigation voices) from Symbian devices??
Yes, currently its a mixture of voice sounds and espeak for street names and anything else it doesn't know
 

The Following User Says Thank You to Blaizzen For This Useful Post: