libosmscout  0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
osmscout::VoiceInstructionAgent Class Referencefinal

This agent prepares voice messages for concatenation voice synthesis. More...

#include <VoiceInstructionAgent.h>

+ Inheritance diagram for osmscout::VoiceInstructionAgent:

Classes

struct  MessageStruct
 

Public Types

enum  MessageType : int {
  MessageType::NoMessage = 0, MessageType::LeaveRbExit1, MessageType::LeaveRbExit2, MessageType::LeaveRbExit3,
  MessageType::LeaveRbExit4, MessageType::LeaveRbExit5, MessageType::LeaveRbExit6, MessageType::TargetReached,
  MessageType::SharpLeft, MessageType::TurnLeft, MessageType::StraightOn, MessageType::TurnRight,
  MessageType::SharpRight, MessageType::LeaveMotorway, MessageType::LeaveMotorwayRight, MessageType::LeaveMotorwayLeft,
  MessageType::Silent
}
 

Public Member Functions

std::list< NavigationMessageRefProcess (const NavigationMessageRef &message) override
 
 VoiceInstructionAgent (DistanceUnitSystem units)
 
 ~VoiceInstructionAgent () override=default
 
- Public Member Functions inherited from osmscout::NavigationAgent
virtual ~NavigationAgent ()=default
 

Detailed Description

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

Member Enumeration Documentation

◆ MessageType

Enumerator
NoMessage 
LeaveRbExit1 
LeaveRbExit2 
LeaveRbExit3 
LeaveRbExit4 
LeaveRbExit5 
LeaveRbExit6 
TargetReached 
SharpLeft 
TurnLeft 
StraightOn 
TurnRight 
SharpRight 
LeaveMotorway 
LeaveMotorwayRight 
LeaveMotorwayLeft 
Silent 

Constructor & Destructor Documentation

◆ VoiceInstructionAgent()

osmscout::VoiceInstructionAgent::VoiceInstructionAgent ( DistanceUnitSystem  units)
inlineexplicit

◆ ~VoiceInstructionAgent()

osmscout::VoiceInstructionAgent::~VoiceInstructionAgent ( )
overridedefault

Member Function Documentation

◆ Process()


The documentation for this class was generated from the following files: