📣

Advanced: Voice

Customizing Default Voice and Language

It’s best to first set the default voice, and then start to create all the voices in your Flow, so that you don’t have to re-generate them. Here’s how you can select the default voice that will be used by all voice clips.

  1. Go to Project Settings → PaleBlue → TextToSpeech
  2. image
  3. Select a voice from the Voice name dropdown
  4. Voices are called like en-GB-Wavenet-C, with the following:
    1. en: language
    2. GB: dialect
    3. Wavenet: algorithm
    4. C: specific voice (can be male or female)

Voice Advanced Features

If you want to use advanced voice functionality with customizeable subtitles and voices, here’s how.

  1. First, you need to create a Voice clip in your project files
  2. In Unity menu, select Assets → Create → PaleBlue → Voice Clip
  3. Alternatively, right click a project folder where you want to create a clip, and select Create → PaleBlue → Voice Clip
  4. The clip will be created and opened in the Inspector
  5. image
  6. See all the things you can customize here - and that’s per voice clip! So you can have characters talking in different voices if you wanted.
  7. Change the Voice Clip Name to easily find it later, for example to Clip Test
  8. Now, type in the text you want to speak out into Text field, and click Generate button
  9. You clip is ready for usage in Flow
  10. Open Flow.
  11. Right click in Flow to Add node, then select PaleBlue → Play Voiceline
  12. A new Play Voiceline node is created and its properties are opened
  13. image
  14. Using the Clip selector, select the Clip you’ve created just now
  15. Connect the Play Voiceline node to other nodes in your flow
  16. image
  17. Note that this node has two exit ports.
    1. Out is executed immediately after voice playback starts
    2. Done waits first for the voice to fully play, and executes only then
  18. That’s it. You can run your flow, and the voice will be played when this Play Voiceline node is reached.

Customize Voice per Clip

Note that in case for some clips you’d like to use a Voice different from the default one, you can make an exception by ticking Can override settings in Clip inspector, and selecting desired Voice for that Clip.

image