AI DevKit
Glitch9 Inc.Glitch9 DocsDiscordIssues
  • Introduction
    • AI DevKit 3.0
    • Update Logs
    • Troubleshooting
      • ❗Issues After Updating AIDevKit?
      • ❗The type or namespace name 'Newtonsoft' could not be found
      • ❗Build Error: The name 'UnityMenu' does not exist in the current context
      • ❗Model 'modelName' not found
      • ❗The model `model name` does not exist or you do not have access to it
      • ❗The type or namespace name 'AndroidJavaObject' could not be found
      • ❗The type or namaspace name 'Plastic' does not exist
      • ❗Build Error: The name 'Asset Database' does not exist in the current context
      • ❗'ModelData.Create(Provider, string, UnixTime?, string)': not all code paths return a value
      • ⚠️ Timeout Issues
      • ⚠️ Receiving a “HTTP/1.1 400 Bad Request” Error?
    • FAQ
      • My OpenAI API free trial has ended or is inactive.
  • Quick Start
    • Get API Keys
      • OpenAI API Key Guide
      • Google API Key Guide
      • ElevenLabs API Key Guide
    • Text Generation
    • C# Object Generation
    • Image Generation
    • Sound Effect Generation
    • Text to Speech (TTS)
    • Speech to Text (STT)
    • Voice Changer
    • Audio Isolation
  • Pro Features
    • Generation Menu
      • Code Generators
        • C# Script Generator
        • Unity Component Generator
    • Editor Chat
    • Editor Vision (TTI, ITI)
    • Editor Speech (TTS)
    • Management Tools
      • Prompt History Viewer
      • AI Model Manager
      • TTS Voice Manager
      • OpenAI File Manager
      • OpenAI Assistant Manager
      • ElevenLabs Voice Library
  • Assistants API (OpenAI)
    • How it works
    • Creating custom functions
    • Creating assistants API
  • Advanced API Supports
    • OpenAI API
      • 💬Chat completions
      • 🖼️Image operations
      • 🗣️Text to speech
      • 🎙️Speech to text
        • Recording real-time in Unity
      • 💾Files
      • 🔎Embeddings
      • 🛡️Moderations
      • ⚙️Fine-tuning
    • Google API
      • 📝System instructions
      • 💬Text generation
      • ⚙️Fine-tuning
      • ▶️Fucntion calling
      • 🔎Embeddings
      • 🛡️Safety
      • 💻Code execution
    • ElevenLabs API
  • Legacy Documents
    • AI DevKit 1.0 - 2.0
      • AI DevKit 2.0
      • AI DevKit 1.0
      • Preperation
      • Event Handlers
      • Scriptable Toolkits
        • Chat Streamer
        • Image Generator
        • Voice Transcriber
        • Voice Generator
      • Editor Tools
Powered by GitBook
On this page
  • Accessing EditorTTS
  • Generating Speech
  • Practical Applications
  • Tips for Effective Speech Generation
  • Managing Generated Speech
  • Best Practices
  1. Pro Features

Editor Speech (TTS)

PreviousEditor Vision (TTI, ITI)NextManagement Tools

Last updated 10 months ago

This feature is only available in the Pro version.

EditorTTS (Text-To-Speech) transforms written text into spoken words, leveraging advanced voice synthesis technology. This tool is instrumental in creating dynamic voiceovers, dialogues, and narrative content directly within the Unity Editor.

Accessing EditorTTS

Open EditorTTS through Tools > Glitch9 > OpenAI > EditorTTS in the Unity Editor. This action will launch the dedicated window for EditorTTS, where you can start converting your text into speech.

Generating Speech

Inputting Your Text

  1. Prompt Field: Type the text you wish to convert into speech in the provided input field.

  2. Voice Selection: Choose a voice that best fits your project's tone and character needs from the available options.

  3. Customizing Speech Parameters: Adjust settings such as speech speed to fine-tune the audio output according to your preferences.

Generating the Audio

Click the "Generate Speech" button after setting your prompt and preferences. EditorTTS will then process your request and generate an audio clip that you can preview, stop, and manage within the EditorTTS window.

Practical Applications

  • Narration and Voiceovers: Generate voiceovers for trailers, in-game narratives, or instructional content.

  • Dynamic Dialogues: Create spoken dialogue for characters, enhancing the immersion and interaction within games.

  • Accessibility Features: Improve accessibility by providing spoken versions of text, aiding those with visual impairments.

Tips for Effective Speech Generation

  • Clear and Concise Prompts: Ensure your text is clear and free of ambiguities to generate coherent speech.

  • Experiment with Voices: Try different voices to find the perfect match for your characters or content.

  • Consider the Context: Adjust the speech speed and tone based on the context in which the speech will be used.

Managing Generated Speech

  • Playback Controls: Use the play and stop buttons to preview the generated speech directly within the EditorTTS window.

  • Session History: Access previously generated speech clips from the session history for easy review and reuse.

Best Practices

  • Review and Edit: Listen to the generated audio and make necessary adjustments to the text for better results.

  • API Usage Management: Be mindful of your API usage to ensure efficient use of resources and adherence to rate limits.

  • Secure Storage: Keep the generated speech files in a secure location, especially if they contain sensitive or proprietary information.