Setting up text to speech Manager

Follow the steps for setting up text to speech manager:

  1. Add an Empty Object in the Object Hierarchy option and name it SoundManager.
  2. Select the SoundManager option from Object Hierarchy. Right-click on SoundManager and add new Audio Source.

 

  1. Select the Audio Source| Inspector panel change the Spatial Blend option from 2D to 3D.
3D Sound Settings on Inspector windows.
  1. Navigate to HoloToolkit |Utilities | Scripts, and drag and drop the TextToSpeechManager script over SoundManager as a component.
Adding Text to Speech Manager Component
  1. Drag the Audio Source and attach it with the input parameter of Audio Source of Text to Speech Manager Script.

That's all for setting up the text to speech manager.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.220.251.163