Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AudioProcessingConfig

import type { AudioProcessingConfig } from "https://googleapis.deno.dev/v1/ces:v1.ts";

Configuration for how the input and output audio should be processed and delivered.

interface AudioProcessingConfig {
ambientSoundConfig?: AmbientSoundConfig;
bargeInConfig?: BargeInConfig;
inactivityTimeout?: number;
synthesizeSpeechConfigs?: {
[key: string]: SynthesizeSpeechConfig;
}
;
}

§Properties

§
ambientSoundConfig?: AmbientSoundConfig
[src]

Optional. Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.

§
bargeInConfig?: BargeInConfig
[src]

Optional. Configures the agent behavior for the user barge-in activities.

§
inactivityTimeout?: number
[src]

Optional. The duration of user inactivity (no speech or interaction) before the agent prompts the user for reengagement. If not set, the agent will not prompt the user for reengagement.

§
synthesizeSpeechConfigs?: {
[key: string]: SynthesizeSpeechConfig;
}
[src]

Optional. Configuration of how the agent response should be synthesized, mapping from the language code to SynthesizeSpeechConfig. If the configuration for the specified language code is not found, the configuration for the root language code will be used. For example, if the map contains "en-us" and "en", and the specified language code is "en-gb", then "en" configuration will be used. Note: Language code is case-insensitive.