.

Average: 5
Rating Count: 1

Development status: New development, Release: v1.2.0
Information status: Updated
Repository: https://gitlab.esrf.fr/accelerators/System/TextToSpeech
Contact:



Class Description


Test to speech device server. Based on Amazon Polly.

Families: SoftwareSystem, InputOutput, Miscellaneous, SoftwareSystem

Key words:

Platform: Unix Like

Language: Cpp

License: LGPL

Contact:

Hardware


Bus: Not Applicable

Class interface


Attributes:

Name Description
successful_requestsScalar: DevULong Total requests that were successful.
failed_requestsScalar: DevULong Requests which have either failed or been terminated
total_requestsScalar: DevULong Total speech requests
polly_requestsScalar: DevULong Total number of polly speech requests
cache_hitsScalar: DevULong Total number of cache hits
speech_delayScalar: DevShort Time in milliseconds between a jingle finishing playback and speech starting.
jingleScalar: pogoDsl:EnumType Currently available jingles in the jingle directory (raw pcm files only).
voiceScalar: pogoDsl:EnumType Available voices returned from the text to speech library.
text_to_talkScalar: DevString The text to speak.

Commands:

Name Description
ClearStatsInput: DevVoid
Output: DevVoid
Clear any gathered stats and debug
DevTalkInput: DevString
Text to be spoken
Output: DevVoid
Request the server speak the text (supplied as an argument)
DevStopInput: DevVoid
Output: DevVoid
Stop talking the current speech request.
DevClearInput: DevVoid
Output: DevVoid
Clear the text to speech queue.
ResetInput: DevVoid
Output: DevVoid
Reset TextToSpeech to attempt to recover from an error.
OnInput: DevVoid
Output: DevVoid
Switch TextToSeech to state ON.
OffInput: DevVoid
Output: DevVoid
Switch TextToSeech to state OFF.
StateInput: DevVoid
Output: State
Device state
This command gets the device state (stored in its device_state data member) and returns it to the caller.
StatusInput: DevVoid
Output: ConstDevString
Device status
This command gets the device status (stored in its device_status data member) and returns it to the caller.

Pipes:

Properties:

Name Description
FallbackTextDevString Text used to inform the operator there is a connectivity issue when trying to reach Amazon Polly Services.
JingleDirectoryDevString Location of files to be used as jingles
CacheTypeDevString Type of cache to use when caching speech. Supported parameters are ``None`` and ``File``
FileCacheLocationDevString Optional parameter to be used when the CacheType is set to File. This specifies the path to use as a cache location. Default is the device server directory
StartTextDevString This text will be spoken at the initialization of the server.


Please log in to comment.

30 Mar 2018, Stuart James
Updated:
The device class has been updated.
You can see previous version here .



30 Mar 2018, Piotr Goryl
Updated:
The device class has been updated.
You can see previous version here .



30 Mar 2018, Andy Gotz
Updated:
The device class has been updated.
You can see previous version here .



28 Mar 2018, Stuart James
Updated:
The device class has been updated.
You can see previous version here .



28 Mar 2018, Stuart James
Created:
The device class has been added to catalogue.
Added by:sjames on:28 Mar 2018, 4:35 p.m.