Skip to content

Provide example code for texttospeech streaming synthesis #4426

@chrbsg

Description

@chrbsg

There is no existing sample code that demonstrates use of StreamingSynthesize for input-streaming TTS. It would be great if this could be available at https://cloud.google.com/text-to-speech/docs/samples/tts-quickstart

Code should document that there is no way to configure audio output. Only LINEAR16 audio with a sample rate of 24000Hz is available.

Code should document that most text-to-speech voices will not work - only Journey voices are supported by streaming synthesis.

(originally reported as google-cloud-go issue #10955)

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p3Desirable enhancement or fix. May not be included in next release.samplesIssues that are directly related to samples.triage meI really want to be triaged.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions