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

SynthesizeSpeechResponse

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

The message returned to the client by the SynthesizeSpeech method.

interface SynthesizeSpeechResponse {
audioContent?: Uint8Array;
}

§Properties

§
audioContent?: Uint8Array
[src]

The audio data bytes encoded as specified in the request, including the header for encodings that are wrapped in containers (e.g. MP3, OGG_OPUS). For LINEAR16 audio, we include the WAV header. Note: as with all bytes fields, protobuffers use a pure binary representation, whereas JSON representations use base64.