Bagikan melalui


HybridSpeechConfig Class

Definition

Class that defines hybrid (cloud and embedded) configurations for speech recognition and speech synthesis.

public sealed class HybridSpeechConfig
type HybridSpeechConfig = class
Public NotInheritable Class HybridSpeechConfig
Inheritance
HybridSpeechConfig

Properties

SpeechRecognitionOutputFormat

Gets/sets the speech recognition output format (simple or detailed).

SpeechSynthesisOutputFormat

Gets the output format of synthesized speech. Example value: riff-16khz-16bit-mono-pcm

Methods

FromConfigs(SpeechConfig, EmbeddedSpeechConfig)

Creates an instance of the hybrid speech config with specified cloud and embedded speech configs.

GetProperty(PropertyId)

Gets a property value by ID.

GetProperty(String)

Gets a property value by name.

SetProperty(PropertyId, String)

Sets a property value by ID.

SetProperty(String, String)

Sets a property value by name.

SetSpeechSynthesisOutputFormat(SpeechSynthesisOutputFormat)

Sets the speech synthesis audio output format.

Applies to