• TTS. Uses openai api to generate speech; loads it into an audio element and starts the speech. Returns the audio element which can be paused, etc ; as well as the blob which can be evaluated for raw audio waveform

    Parameters

    • input: string

    Returns Promise<{
        audio_element: any;
        blob: any;
    }>