Streaming synthesis over a pooled AssemblyAI session.

Hierarchy (view full)

Constructors

Properties

done: Future<void, Error> = ...
label: string = 'assemblyai.SynthesizeStream'
END_OF_STREAM: typeof END_OF_STREAM

Accessors

  • get abortSignal(): AbortSignal
  • Returns AbortSignal

Methods

  • Close both the input and output of the TTS stream

    Returns void

  • Mark the input as ended and forbid additional pushes

    Returns void

  • Flush the TTS, causing it to process all pending text

    Returns void

  • Parameters

    • text: string

    Returns void

    Deprecated

    Use updateInputStream instead

  • Parameters

    • text: ReadableStream<string>

    Returns void