Google Cloud Text-to-Speech v1beta1 API - Class StreamingAudioConfig (2.0.0-beta12)

public sealed class StreamingAudioConfig : IMessage<StreamingAudioConfig>, IEquatable<StreamingAudioConfig>, IDeepCloneable<StreamingAudioConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Text-to-Speech v1beta1 API class StreamingAudioConfig.

Description of the desired output audio data.

Inheritance

object > StreamingAudioConfig

Namespace

Google.Cloud.TextToSpeech.V1Beta1

Assembly

Google.Cloud.TextToSpeech.V1Beta1.dll

Constructors

StreamingAudioConfig()

public StreamingAudioConfig()

StreamingAudioConfig(StreamingAudioConfig)

public StreamingAudioConfig(StreamingAudioConfig other)
Parameter
Name Description
other StreamingAudioConfig

Properties

AudioEncoding

public AudioEncoding AudioEncoding { get; set; }

Required. The format of the audio byte stream. For now, streaming only supports PCM and OGG_OPUS. All other encodings will return an error.

Property Value
Type Description
AudioEncoding

SampleRateHertz

public int SampleRateHertz { get; set; }

Optional. The synthesis sample rate (in hertz) for this audio.

Property Value
Type Description
int