Skip to content

VirtualityForSafety/UnityWindowsTTS

Repository files navigation

UnityWindowsTTS

Text-To-Speech for Unity + Windows. We thank to Chad Weisshaar for allowing to share this source code. This source code was originally from here.

Environment

Requirements

How to try

  • Open the solution file: WindowsTTS.sln
  • Make sure the active build configuration is x64.
  • Build! and then WindowsTTS.dll will be appeared in UnityWindowsTTS\Assets\Plugins.
  • Open the sample scene file in UnityWindowsTTS\Assets\Scenes folder.
  • Check the WindowsTTS.dll is in the right place.
  • Run the scene and press the button.
  • If it doesn't make any sound:
    • Select the Narrator in the scene, press Add Component, and select 'Narrator'.
    • Select the Button under Canvas in the scene, drag and drop the Narrator to the object in On Click() at Button (Script), and change it from No function to Narrator.TestSpeech.
    • Then give it a try.

Tip

  • You can change the voice by 'Voice Idx' of Narrator, but the index seems to be assigned dynamic somehow. We will update that later.

License

  • MIT license

Maintainer

About

Text-To-Speech for Unity + Windows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •