Optional sampleAudio sample rate in Hz. Must match the actual audio stream.
16_000 (16 kHz, standard for voice processing)
Optional frameDuration of each audio frame in milliseconds. Determines the number
of samples expected in each processFrame() call.
At 16kHz with 20ms frames, each frame is 320 samples.
20
Optional calibrationEnvironmental calibration settings. Controls how the noise floor and spectral profile are estimated from ambient audio.
See CalibrationConfig for available options.
Optional vadVAD algorithm configuration. Controls speech detection thresholds, minimum speech duration, hangover period, etc.
See AdaptiveVADConfig for available options.
Configuration for the BuiltInAdaptiveVadProvider.
All fields are optional — sensible defaults are applied for 16kHz mono audio with 20ms frames (the standard voice pipeline configuration).
See
BuiltInAdaptiveVadProvider for usage examples See
AdaptiveVADConfigfor detailed VAD tuning parameters. SeeCalibrationConfigfor environmental calibration settings.