ak-brodrigue / waapi-text-to-speech

Demonstrates how to generate WAV files using text-to-speech from Wwise directly.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Text To Speech From Wwise

Overview

This sample demonstrates how to generate WAV files using text-to-speech from Wwise directly.

Demonstrates:

Requirements

Setup

  1. Install python 3.6 or more recent

  2. Install python dependencies:

    py -3 -m pip install waapi-client

  3. Create the Add-ons folder under %APPDATA%\Audiokinetic\Wwise

  4. Unzip the git repository under: %APPDATA%\Audiokinetic\Wwise\Add-ons

    Note: ensure the Commands and waapi-text-to-speech folders are directly located under the Add-ons folder.

  5. Restart Wwise or run the command Command Add-ons/Reload

How to use

  1. Create a Sound SFX or Sound Voice object in the project.
  2. Type some text in the Notes field.
  3. Right-click the object, and select Generate Text-to-Speech.

How it works

The source code is located in main.py.

This script is using WAAPI and the Command Add-ons system. It will retrieve the selection from executed command and generate a WAV file for each selected Sound objects using Windows text to speech. The WAV files will be automatically imported in the project with WAAPI.

Refer to this blog article for more information.

About

Demonstrates how to generate WAV files using text-to-speech from Wwise directly.

License:Other


Languages

Language:Python 88.6%Language:PowerShell 11.4%