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

InputAudioConfig

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

InputAudioConfig configures how the CES agent should interpret the incoming audio data.

interface InputAudioConfig {
audioEncoding?:
| "AUDIO_ENCODING_UNSPECIFIED"
| "LINEAR16"
| "MULAW"
| "ALAW";
noiseSuppressionLevel?: string;
sampleRateHertz?: number;
}

§Properties

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

Required. The encoding of the input audio data.

§
noiseSuppressionLevel?: string
[src]

Optional. Whether to enable noise suppression on the input audio. Available values are "low", "moderate", "high", "very_high".

§
sampleRateHertz?: number
[src]

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