Google TTS-API

Tell em!

This component implements the Google Cloud Text to Speech API directly in to touchdesigner.
To be able to use it, you need a Google Cloud account, activate the Text to Speech API and generate an API-Key.
With caching enabled, the audio-files will be saved locally to the disk and reused when the requests match up. Otherwise they are stored virtually and removed when a new audiofile is generated.

Outputs: 
  1. CHOP - Audio : Connect to AudioDeviceOut to hear something.
 
Parameters:
  • Token : Your google cloud API-Key.
  • Gender : The gender that will be generated to create the spoken text.
  • Languagecode: The Languagecode of the speeker.

  • Text : What text to synthesize.
  • Execute : Synthesize the Text-parameter.

  • Replay Last : Replays the last spoken words.

  • Cache Files : If turned on, will save the files onto disk and reuse them instead of generating them new.
  • Cache Folder : Where to save mp3 files. 

Methods:
  • Play_Text( text:string ): Synthesizes the string.



Downloads: 389

Created at: 7.3.2022

Uploaded: 7.3.2022
Download