Del via


TextToSpeechOptions Class

Definition

Represents the options for a text to speech request.

public ref class TextToSpeechOptions
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public class TextToSpeechOptions
public class TextToSpeechOptions
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type TextToSpeechOptions = class
type TextToSpeechOptions = class
Public Class TextToSpeechOptions
Inheritance
TextToSpeechOptions
Attributes

Constructors

Name Description
TextToSpeechOptions()

Initializes a new instance of the TextToSpeechOptions class.

TextToSpeechOptions(TextToSpeechOptions)

Initializes a new instance of the TextToSpeechOptions class, performing a shallow copy of all properties from other.

Properties

Name Description
AdditionalProperties

Gets or sets any additional properties associated with the options.

AudioFormat

Gets or sets the desired audio output format.

Language

Gets or sets the language for the generated speech.

ModelId

Gets or sets the model ID for the text to speech request.

Pitch

Gets or sets the speech pitch multiplier.

RawRepresentationFactory

Gets or sets a callback responsible for creating the raw representation of the text to speech options from an underlying implementation.

Speed

Gets or sets the speech speed multiplier.

VoiceId

Gets or sets the voice identifier to use for speech synthesis.

Volume

Gets or sets the speech volume level.

Methods

Name Description
Clone()

Produces a clone of the current TextToSpeechOptions instance.

Applies to