Chunked stream for Sarvam AI TTS that processes a single synthesis request.

Hierarchy (view full)

Properties

label: string = 'sarvam.ChunkedStream'

Accessors

  • get abortSignal(): AbortSignal
  • Returns AbortSignal

  • get inputText(): string
  • Returns string

Methods

  • Close both the input and output of the TTS stream

    Returns void

  • Collect every frame into one in a single call

    Returns Promise<AudioFrame>