Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

VADConfig.md

46 lines1.0 KB

Interface: VADConfig

Defined in: packages/typescript/ai/src/realtime/types.ts:8

Voice activity detection configuration

Properties

prefixPaddingMs?

optional prefixPaddingMs: number;

Defined in: packages/typescript/ai/src/realtime/types.ts:12

Audio to include before speech detection (ms)


silenceDurationMs?

optional silenceDurationMs: number;

Defined in: packages/typescript/ai/src/realtime/types.ts:14

Silence duration to end turn (ms)


threshold?

optional threshold: number;

Defined in: packages/typescript/ai/src/realtime/types.ts:10

Sensitivity threshold (0.0-1.0)