Audio

data class Audio(val bytes: ByteArray, val alignment: RealtimeTtsAlignment? = null, val normalizedAlignment: RealtimeTtsAlignment? = null) : RealtimeTtsEvent(source)

A generated audio chunk

Constructors

Link copied to clipboard
constructor(bytes: ByteArray, alignment: RealtimeTtsAlignment? = null, normalizedAlignment: RealtimeTtsAlignment? = null)

Properties

Link copied to clipboard

Timing for the submitted text, when requested and available.

Link copied to clipboard

Generated audio bytes owned by this event

Link copied to clipboard

Timing for the normalized spoken text, when requested and available.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int