@vowel.to/client / index / ClientVADConfig
Interface: ClientVADConfig
Defined in: lib/vowel/types/types.ts:309
Client VAD configuration
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
adapter | string | VAD adapter ID (must be registered in VADRegistry) | lib/vowel/types/types.ts:313 |
config? | Record<string, any> | Adapter-specific configuration | lib/vowel/types/types.ts:318 |
autoCommit? | boolean | Whether to automatically commit audio when speech ends Default true | lib/vowel/types/types.ts:324 |
autoCreateResponse? | boolean | Whether to automatically create response when speech ends Default true | lib/vowel/types/types.ts:330 |
rollingBuffer? | { prefixMs?: number; suffixMs?: number; } | Rolling buffer configuration for capturing audio around VAD segments This ensures we don't miss speech that occurred before or after VAD detection | lib/vowel/types/types.ts:336 |
rollingBuffer.prefixMs? | number | Duration of audio to capture before speech detection (in milliseconds) Default 3000 | lib/vowel/types/types.ts:341 |
rollingBuffer.suffixMs? | number | Duration of audio to capture after speech ends (in milliseconds) Default 100 | lib/vowel/types/types.ts:347 |