@vowel.to/client / index / TurnDetectionConfig
Interface: TurnDetectionConfig
Defined in: lib/vowel/types/types.ts:354
Turn detection configuration
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
mode | TurnDetectionMode | Detection mode Default 'client_vad' | lib/vowel/types/types.ts:359 |
clientVAD? | ClientVADConfig | Client VAD configuration (for 'client_vad' mode) | lib/vowel/types/types.ts:364 |
serverVAD? | { threshold?: number; prefixPaddingMs?: number; silenceDurationMs?: number; eagerness?: "low" | "medium" | "high" | "auto"; createResponse?: boolean; interruptResponse?: boolean; } | Server VAD configuration (for 'server_vad' and 'semantic_vad' modes) | lib/vowel/types/types.ts:369 |
serverVAD.threshold? | number | Activation threshold (0 to 1) Higher = more conservative (fewer false positives) | lib/vowel/types/types.ts:374 |
serverVAD.prefixPaddingMs? | number | Amount of audio (in milliseconds) to include before VAD detected speech | lib/vowel/types/types.ts:379 |
serverVAD.silenceDurationMs? | number | Duration of silence (in milliseconds) to detect speech stop | lib/vowel/types/types.ts:384 |
serverVAD.eagerness? | "low" | "medium" | "high" | "auto" | Eagerness for semantic VAD (low/medium/high/auto) | lib/vowel/types/types.ts:389 |
serverVAD.createResponse? | boolean | Automatically create response when speech ends Default true | lib/vowel/types/types.ts:395 |
serverVAD.interruptResponse? | boolean | Allow interruptions during AI response Default true | lib/vowel/types/types.ts:401 |