Skip to content

bodhi-realtime-agent / TTSAudioConfig

Interface: TTSAudioConfig ​

Defined in: src/types/tts.ts:5

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

Properties ​

bitDepth ​

bitDepth: number

Defined in: src/types/tts.ts:9

Bits per sample (16).


channels ​

channels: number

Defined in: src/types/tts.ts:11

Number of channels (1 = mono).


encoding ​

encoding: "pcm"

Defined in: src/types/tts.ts:13

Encoding format.


sampleRate ​

sampleRate: number

Defined in: src/types/tts.ts:7

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

Built with VitePress