.

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

Commands:

Name Description
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.
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.
OffInput: DevVoid
Output: DevVoid
Switch TextToSeech to state OFF.
OnInput: DevVoid
Output: DevVoid
Switch TextToSeech to state ON.
ResetInput: DevVoid
Output: DevVoid
Reset TextToSpeech to attempt to recover from an error.
DevClearInput: DevVoid
Output: DevVoid
Clear the text to speech queue.
DevStopInput: DevVoid
Output: DevVoid
Stop talking the current speech request.
DevTalkInput: DevString
Text to be spoken
Output: DevVoid
Request the server speak the text (supplied as an argument)
ClearStatsInput: DevVoid
Output: DevVoid
Clear any gathered stats and debug

Pipes:

Properties:

Name Description
StartTextDevString This text will be spoken at the initialization of the server.
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
CacheTypeDevString Type of cache to use when caching speech. Supported parameters are ``None`` and ``File``
JingleDirectoryDevString Location of files to be used as jingles
FallbackTextDevString Text used to inform the operator there is a connectivity issue when trying to reach Amazon Polly Services.


Please log in to comment.

README

b'# TextToSpeech\r\n\r\n## Summary\r\n\r\nTextToSpeech (TTS) is a text to speech service TANGO device server. It is based on Amazon Web Services (AWS), and writes its audio via Pulse Audio. The device server currently includes some simple file caching services, to reduce the interaction with AWS.\r\n\r\nThe main text to speech and audio playback code has been separated out into a static library that is linked to both the device server and the unit tests. This separation allows the TTS functionality to be tested per class, and TTS code developed in isolation to the device server. It also reduces the dependencies of the unit tests. \r\n\r\n## Documentation\r\n\r\nThe repository contains a README.md with documentation on how to build and install the device server. This can be found here\r\n'

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, 2:35 p.m.