I think I found a problem in the English TTS voice guidance. I was guessing, are we missing spaces in the string sent to TTS?
Generally, it is always trying to connect words to pronounce together. For example, whenever it should say "miles", they speak "mi-la-s". My guess is we are missing spaces in the string sent to TTS, [....]
Yes... Isee ypur point. But the Google maps navigation speaks fine though. Weird.
--
You received this message because you are subscribed to the Google Groups "Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osmand+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You can compare the Dutch (https://github.com/osmandapp/OsmAnd-resources/blob/master/voice/nl/ttsconfig.p) with the english (https://github.com/osmandapp/OsmAnd-resources/blob/master/voice/en/ttsconfig.p) one.We even introduced sometimes two spaces to make it sound better.Rodolpho did (by far) most of the work on the Dutch (and spanish) version, but I also worked on the Dutch one.I understand what you mean and you are right that the second voice sounds better.Note that OsmAnd mixes predefined texts with variables (After, 400/500/700, yards/meters, etcetera). When you let the same string be pronounced by another speech engine, it might sound differently, but in this case you make a nicely formatted sentence.
string('around_1_mile.ogg', 'about 1 mile').string('miles.ogg', 'miles').
With the spaces, "mile" sounds really off, so that was where I started. Checking now, removing the trailing space from "onto" and several other tests also gives an improved result.
If someone wants to really tweak it I will leave them to it, but if a patch just stripping all the trailing spaces is useful, I can put that together.
Max
Hi Max,Quick thought - should we test a couple more languages (one or two is probably good enough), to see whether we are seeing a consistent improvement by removing the trailing space, before applying the actual change?PS: I am nowhere near a qualified android developer, just wanted to help - so please point out if some of my ideas are ridiculous :)-Shawn
--
You are right. What do you think we should do next? Should we directly go ahead and make a pull request (for English only)?
Shawn