Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Experimental/TextToSpeech/Source/TextToSpeech/Public/TextToSpeechEngineSubsystem.h |
Include |
#include "TextToSpeechEngineSubsystem.h" |
UCLASS()
class UTextToSpeechEngineSubsystem : public UEngineSubsystem
Subsystem for interacting with the text to speech system via blueprints. The subsystem consists of a number of text to speech channels associated with a text to speech channel Id. Each text to speech channel provides text to speech functionality such as vocalizing a string, stopping a vocalized string, controlling the audio settings of the channel and muting/unmuting a channel. Most of the functions take a text to speech channel Id which allows you to request text to speech functionality on the requested channel. All newly added text to speech channels start off deactivated and must be activated before any text to speech functionality can be used.
Name | Description | |
---|---|---|
|
UTextToSpeechEngineSubsystem() |
Name | Description | |
---|---|---|
|
~UTextToSpeechEngineSubsystem() |
Name | Description | ||
---|---|---|---|
|
ActivateAllChannels() |
Activates all text to speech channels to accept requests for text to speech functionality. |
|
|
ActivateChannel ( |
Activates a text to speech channel to accept requests to perform text to speech functionality. |
|
|
AddCustomChannel ( |
Creates a new text to speech channel where text to speech requests are fulfilled by a user implemented C++ text to speech class. |
|
|
AddDefaultChannel ( |
Creates a new channel for text to speech requests to be made to a platform C++ text to speech class. |
|
|
DeactivateAllChannels() |
Deactivates all text to speech channels making all requests for text to speech functionality do nothing. |
|
|
DeactivateChannel ( |
Deactivates a text to speech channel and stops any vocalized strings on that channel. |
|
|
DoesChannelExist ( |
Returns true if a text to speech channel associated with a channel Id exists. |
|
|
GetNumChannels() |
Returns the number of text to speech channels that have been added. |
|
|
float |
GetRateOnChannel ( |
Returns the current speech rate strings are vocalized on a text to speech channel. |
|
float |
GetVolumeOnChannel ( |
Returns the current volume strings are vocalized on a text to speech channel. |
|
IsChannelActive ( |
Returns true if the text to speech channel is active, otherwise false. |
|
|
IsChannelMuted ( |
Returns true if the text to speech channel is muted, otherwise false. |
|
|
IsSpeakingOnChannel ( |
Return true when the targeted text to speech channel is vocalising, otherwise false. |
|
|
MuteChannel ( |
Mutes a text to speech channel so no vocalized strings are audible on that channel. |
|
|
RemoveAllChannels() |
Removes all text to speech channels, preventin future requests for text to speech functionality on all channels. |
|
|
RemoveChannel ( |
Removes a text to speech channel, preventing all further requests for text to speech functionality from the channel. |
|
|
SetRateOnChannel ( |
Sets the current speech rate strings should be vocalized on a text to speech channel. |
|
|
SetVolumeOnChannel ( |
Sets the volume for strings vocalized on a text to speech channel. |
|
|
SpeakOnChannel |
Immediately vocalizes the requested string asynchronously on the requested text to speech channel, interrupting any string that is already being vocalized on the channel. |
|
|
StopSpeakingOnAllChannels() |
Immediately stops strings from being vocalized on all text to speech channels. |
|
|
StopSpeakingOnChannel ( |
Immediately stops any currently vocalized string on the channel. |
|
|
UnmuteChannel ( |
Unmutes a text to speech channel so vocalized strings are audible on the channel. |
Name | Description | ||
---|---|---|---|
|
Deinitialize() |
Implement this for deinitialization of instances of the system |
|
|
Initialize ( |