UE · 2024年6月11日 0

[Unreal Engine] DTSpeechVoice text-to-speech playback plugin description

This plug-in can use blueprints in UE to convert text into speech playback. The sound engine used for playback uses the Windows built-in speech engine and supports Win10 and Win11.

System Settings

First, confirm whether the computer has a voice system. Generally, a normally installed computer will have one built-in.

[Unreal Engine] DTSpeechVoice text-to-speech playback plugin description

If you want to play in multiple languages, please download the voice library in other languages ​​yourself. Generally, the system only comes with English and the system default language.

[Unreal Engine] DTSpeechVoice text-to-speech playback plugin description

Blueprint Operations

[Unreal Engine] DTSpeechVoice text-to-speech playback plugin description

First, add a DT Speech Voice Component in the Actor.

Then the created component object is the operation object, which can be used for playback operations.

[Unreal Engine] DTSpeechVoice text-to-speech playback plugin description

Node Description

Speak

[Unreal Engine] DTSpeechVoice text-to-speech playback plugin description

Play voice

Speak Content: The content to be played.


Set Volume

[Unreal Engine] DTSpeechVoice text-to-speech playback plugin description

Set playback volume: 0 – 100


Set Rate

[Unreal Engine] DTSpeechVoice text-to-speech playback plugin description

Set playback rate: -10 – 10


Pause

[Unreal Engine] DTSpeechVoice text-to-speech playback plugin description

Pause audio playback


Resume

[Unreal Engine] DTSpeechVoice text-to-speech playback plugin description

Resume voice playback


Stop

[Unreal Engine] DTSpeechVoice text-to-speech playback plugin description

Stop voice playback and cannot be resumed


Get Tokens

[Unreal Engine] DTSpeechVoice text-to-speech playback plugin description

Get the current system valid voice type


Set Token

[Unreal Engine] DTSpeechVoice text-to-speech playback plugin description

Set the type of voice currently being played