|
libosmscout 0.1
|
This agent prepares voice messages for concatenation voice synthesis. More...
#include <VoiceInstructionAgent.h>
Inheritance diagram for osmscout::VoiceInstructionAgent:Public Member Functions | |
| std::list< NavigationMessageRef > | Process (const NavigationMessageRef &message) override |
| VoiceInstructionAgent (DistanceUnitSystem units, TTSMessageGeneratorRef ttsMessageGenerator) | |
| ~VoiceInstructionAgent () override=default | |
Public Member Functions inherited from osmscout::NavigationAgent | |
| virtual | ~NavigationAgent ()=default |
This agent prepares voice messages for concatenation voice synthesis.
It follows simple pattern described on "Voice of Marble" project page: https://community.kde.org/Marble/VoiceOfMarble/Translations
Message pattern is same for all languages. There is no need for translations, just concatenate samples recorded in required language.
There are existing samples recorded by Marble community that can be used: https://marble.kde.org/speakers.php
|
inline |
|
overridedefault |
|
overridevirtual |
Implements osmscout::NavigationAgent.
References osmscout::VoiceMessageStruct::GpsFound, osmscout::PositionAgent::NoGpsSignal, osmscout::VoiceMessageStruct::NoMessage, osmscout::None, osmscout::TextToSpeech, osmscout::NavigationMessage::timestamp, osmscout::VoiceMessageStruct::type, osmscout::VoiceOfMarble, and osmscout::Distance::Zero().