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

SynthesizeSpeechConfig

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

Configuration for how the agent response should be synthesized.

interface SynthesizeSpeechConfig {
speakingRate?: number;
voice?: string;
}

§Properties

§
speakingRate?: number
[src]

Optional. The speaking rate/speed in the range [0.25, 2.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. Values outside of the range [0.25, 2.0] will return an error.

§
voice?: string
[src]

Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code. For the list of available voices, please refer to Supported voices and languages from Cloud Text-to-Speech.