Show / Hide Table of Contents

Class TtsOracleSpeechSettings

Settings to use for generating speech with a model from ORACLE family.

Inheritance
object
TtsOracleSpeechSettings
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.AispeechService.Models
Assembly: OCI.DotNetSDK.Aispeech.dll
Syntax
public class TtsOracleSpeechSettings

Properties

OutputFormat

Declaration
[JsonProperty(PropertyName = "outputFormat")]
[JsonConverter(typeof(StringEnumConverter))]
public TtsOracleSpeechSettings.OutputFormatEnum? OutputFormat { get; set; }
Property Value
Type Description
TtsOracleSpeechSettings.OutputFormatEnum?

The format of audio in which the user wants the audio to be in. The supported output formats are:

  • MP3
  • OGG
  • PCM
  • JSON

SampleRateInHz

Declaration
[JsonProperty(PropertyName = "sampleRateInHz")]
public int? SampleRateInHz { get; set; }
Property Value
Type Description
int?

The sample rate of the generated audio. By default, the audio will be generated with speaker voice sample rate.

SpeechMarkTypes

Declaration
[JsonProperty(PropertyName = "speechMarkTypes", ItemConverterType = typeof(StringEnumConverter))]
public List<TtsOracleSpeechSettings.SpeechMarkTypesEnum> SpeechMarkTypes { get; set; }
Property Value
Type Description
List<TtsOracleSpeechSettings.SpeechMarkTypesEnum>

The kind of time stamp markings the user wants for the audio. This property should be provided if outputFormat is json, otherwise it will be ignored. null value (i.e. no value is not specified) indicates no speech marking. The supported speech mark types are:

  • SENTENCE
  • WORD

TextType

Declaration
[JsonProperty(PropertyName = "textType")]
[JsonConverter(typeof(StringEnumConverter))]
public TtsOracleSpeechSettings.TextTypeEnum? TextType { get; set; }
Property Value
Type Description
TtsOracleSpeechSettings.TextTypeEnum?

The format in which the input text has been supplied i.e., Text or SSML. The supported text types are:

  • TEXT
  • SSML
In this article
Back to top