Unreal Engine Marketplace is moving over to Fab in mid-October. Learn more.

Google TextToSpeech

GameInProgress - Code Plugins - Sep 4, 2019

Plugin for Google's TextToSpeech API, play synthetic voices inside your games.

  • Supported Platforms
  • Supported Engine Versions
    4.20 - 4.27, 5.0 - 5.3
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

This plugin integrates with Google's TextToSpeech API, letting you play synthetic voices inside your games using groundbreaking research in speech synthesis and Google's powerful neural networks to deliver high-fidelity audio. You basically just type in the text you want (with or without SSML) and the API will create the voice data for you.


Example Project:

Click here

Example Project (Demo):

Click here

Example Project (Video):

Click here


Support:

If you need support you have two choices:

Technical Details

Features:

  • Create TextToSpeech files. You specify the text (with or without SSML) and the properties of the voice in the editor, and then you can play this synthetic voice just like a regular sound wave. Perfect for prototyping characters and interactions!
  •  Make Blueprint calls to the API, playing voices dynamically. NOTE: This type of playback requires the API key to be present in the build, and the client has to be online. I recommend against using this feature for public builds, for safety reasons. If your game is online and you control the servers, then you could theoretically use the plugin on the server only and send the voices to the clients. But this use case is not supported out of the box in the plugin.

Code Modules:

  • GoogleTextToSpeechAssetModule (Runtime)
  • GoogleTextToSpeechAssetEditorModule (Editor)

Number of Blueprints: 2

Number of C++ Classes: 7

Network Replicated: No, but anywhere you can use a SoundWave you can use this

Supported Development Platforms: Windows, Linux and Mac.

Supported Target Build Platforms: Windows, Linux, Android, Mac and iOS.

Documentation: Here

Important/Additional Notes: You need to subscribe to Google's TextToSpeech API's to use this plugin. You can do that here: https://cloud.google.com/text-to-speech/