Skip to content

bodhi-realtime-agent / TTSAudioConfig

Interface: TTSAudioConfig

Defined in: types/tts.ts:7

Audio format descriptor for TTS output. Returned by TTSProvider.configure() to indicate the actual output format.

Properties

bitDepth

bitDepth: number

Defined in: types/tts.ts:11

Bits per sample (16).


channels

channels: number

Defined in: types/tts.ts:13

Number of channels (1 = mono).


encoding

encoding: "pcm"

Defined in: types/tts.ts:15

Encoding format.


sampleRate

sampleRate: number

Defined in: types/tts.ts:9

Sample rate in Hz (e.g. 24000 for ElevenLabs, 44100 for Cartesia).

Built with VitePress