SpeechSynthesizer Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SpeechSynthesizer(EmbeddedSpeechConfig) |
Creates a new instance of SpeechSynthesizer using EmbeddedSpeechConfig. Added in 1.19.0 |
SpeechSynthesizer(HybridSpeechConfig) |
Creates a new instance of SpeechSynthesizer using HybridSpeechConfig. |
SpeechSynthesizer(SpeechConfig) |
Creates a new instance of SpeechSynthesizer. |
SpeechSynthesizer(EmbeddedSpeechConfig, AudioConfig) |
Creates a new instance of SpeechSynthesizer using EmbeddedSpeechConfig. Added in 1.19.0 |
SpeechSynthesizer(HybridSpeechConfig, AudioConfig) |
Creates a new instance of SpeechSynthesizer using HybridSpeechConfig. |
SpeechSynthesizer(SpeechConfig, AudioConfig) |
Creates a new instance of SpeechSynthesizer. |
SpeechSynthesizer(SpeechConfig, AutoDetectSourceLanguageConfig, AudioConfig) |
Creates a new instance of SpeechSynthesizer. Added in 1.13.0 |
SpeechSynthesizer(EmbeddedSpeechConfig)
Creates a new instance of SpeechSynthesizer using EmbeddedSpeechConfig. Added in 1.19.0
public SpeechSynthesizer (Microsoft.CognitiveServices.Speech.EmbeddedSpeechConfig speechConfig);
new Microsoft.CognitiveServices.Speech.SpeechSynthesizer : Microsoft.CognitiveServices.Speech.EmbeddedSpeechConfig -> Microsoft.CognitiveServices.Speech.SpeechSynthesizer
Public Sub New (speechConfig As EmbeddedSpeechConfig)
Parameters
- speechConfig
- EmbeddedSpeechConfig
Embedded speech configuration
Applies to
SpeechSynthesizer(HybridSpeechConfig)
Creates a new instance of SpeechSynthesizer using HybridSpeechConfig.
public SpeechSynthesizer (Microsoft.CognitiveServices.Speech.HybridSpeechConfig speechConfig);
new Microsoft.CognitiveServices.Speech.SpeechSynthesizer : Microsoft.CognitiveServices.Speech.HybridSpeechConfig -> Microsoft.CognitiveServices.Speech.SpeechSynthesizer
Public Sub New (speechConfig As HybridSpeechConfig)
Parameters
- speechConfig
- HybridSpeechConfig
Hybrid speech configuration
Applies to
SpeechSynthesizer(SpeechConfig)
Creates a new instance of SpeechSynthesizer.
public SpeechSynthesizer (Microsoft.CognitiveServices.Speech.SpeechConfig speechConfig);
new Microsoft.CognitiveServices.Speech.SpeechSynthesizer : Microsoft.CognitiveServices.Speech.SpeechConfig -> Microsoft.CognitiveServices.Speech.SpeechSynthesizer
Public Sub New (speechConfig As SpeechConfig)
Parameters
- speechConfig
- SpeechConfig
Speech configuration
Applies to
SpeechSynthesizer(EmbeddedSpeechConfig, AudioConfig)
Creates a new instance of SpeechSynthesizer using EmbeddedSpeechConfig. Added in 1.19.0
public SpeechSynthesizer (Microsoft.CognitiveServices.Speech.EmbeddedSpeechConfig speechConfig, Microsoft.CognitiveServices.Speech.Audio.AudioConfig audioConfig);
new Microsoft.CognitiveServices.Speech.SpeechSynthesizer : Microsoft.CognitiveServices.Speech.EmbeddedSpeechConfig * Microsoft.CognitiveServices.Speech.Audio.AudioConfig -> Microsoft.CognitiveServices.Speech.SpeechSynthesizer
Public Sub New (speechConfig As EmbeddedSpeechConfig, audioConfig As AudioConfig)
Parameters
- speechConfig
- EmbeddedSpeechConfig
Embedded speech configuration
- audioConfig
- AudioConfig
Audio configuration
Applies to
SpeechSynthesizer(HybridSpeechConfig, AudioConfig)
Creates a new instance of SpeechSynthesizer using HybridSpeechConfig.
public SpeechSynthesizer (Microsoft.CognitiveServices.Speech.HybridSpeechConfig speechConfig, Microsoft.CognitiveServices.Speech.Audio.AudioConfig audioConfig);
new Microsoft.CognitiveServices.Speech.SpeechSynthesizer : Microsoft.CognitiveServices.Speech.HybridSpeechConfig * Microsoft.CognitiveServices.Speech.Audio.AudioConfig -> Microsoft.CognitiveServices.Speech.SpeechSynthesizer
Public Sub New (speechConfig As HybridSpeechConfig, audioConfig As AudioConfig)
Parameters
- speechConfig
- HybridSpeechConfig
Hybrid speech configuration
- audioConfig
- AudioConfig
Audio configuration
Applies to
SpeechSynthesizer(SpeechConfig, AudioConfig)
Creates a new instance of SpeechSynthesizer.
public SpeechSynthesizer (Microsoft.CognitiveServices.Speech.SpeechConfig speechConfig, Microsoft.CognitiveServices.Speech.Audio.AudioConfig audioConfig);
new Microsoft.CognitiveServices.Speech.SpeechSynthesizer : Microsoft.CognitiveServices.Speech.SpeechConfig * Microsoft.CognitiveServices.Speech.Audio.AudioConfig -> Microsoft.CognitiveServices.Speech.SpeechSynthesizer
Public Sub New (speechConfig As SpeechConfig, audioConfig As AudioConfig)
Parameters
- speechConfig
- SpeechConfig
Speech configuration
- audioConfig
- AudioConfig
Audio configuration
Applies to
SpeechSynthesizer(SpeechConfig, AutoDetectSourceLanguageConfig, AudioConfig)
Creates a new instance of SpeechSynthesizer. Added in 1.13.0
public SpeechSynthesizer (Microsoft.CognitiveServices.Speech.SpeechConfig speechConfig, Microsoft.CognitiveServices.Speech.AutoDetectSourceLanguageConfig autoDetectSourceLanguageConfig, Microsoft.CognitiveServices.Speech.Audio.AudioConfig audioConfig);
new Microsoft.CognitiveServices.Speech.SpeechSynthesizer : Microsoft.CognitiveServices.Speech.SpeechConfig * Microsoft.CognitiveServices.Speech.AutoDetectSourceLanguageConfig * Microsoft.CognitiveServices.Speech.Audio.AudioConfig -> Microsoft.CognitiveServices.Speech.SpeechSynthesizer
Public Sub New (speechConfig As SpeechConfig, autoDetectSourceLanguageConfig As AutoDetectSourceLanguageConfig, audioConfig As AudioConfig)
Parameters
- speechConfig
- SpeechConfig
Speech configuration
- autoDetectSourceLanguageConfig
- AutoDetectSourceLanguageConfig
The auto detect source language config
- audioConfig
- AudioConfig
Audio configuration
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기