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

OutputAudioConfig

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

OutputAudioConfig configures how the CES agent should synthesize outgoing audio responses.

interface OutputAudioConfig {
audioEncoding?:
| "AUDIO_ENCODING_UNSPECIFIED"
| "LINEAR16"
| "MULAW"
| "ALAW";
sampleRateHertz?: number;
}

§Properties

§
audioEncoding?: "AUDIO_ENCODING_UNSPECIFIED" | "LINEAR16" | "MULAW" | "ALAW"
[src]

Required. The encoding of the output audio data.

§
sampleRateHertz?: number
[src]

Required. The sample rate (in Hertz) of the output audio data.