FreakingGenius - v0.1.0
    Preparing search index...

    Converts text to an audio buffer using the configured synthesis backend.

    const tts = new TTS({ language: 'en-US', defaultVoiceId: 'Aria', defaultRate: 1, defaultPitch: 1 });
    const result = await tts.synthesize('Great job! Try the next step.');
    await audioOutput.play(result.audioBuffer);
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Returns the list of voice IDs available on the configured backend.

      Returns Promise<string[]>

      An array of voice identifiers the backend can use.