Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
PromptBuilder Members
Include Protected Members
Include Inherited Members
Creates an empty Prompt object and provides methods for adding content, selecting voices, controlling voice attributes, and controlling the pronunciation of spoken words.
The PromptBuilder type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PromptBuilder() | Creates a new instance of the PromptBuilder class. | |
PromptBuilder(CultureInfo) | Creates a new instance of the PromptBuilder class and specifies a culture. |
Top
Properties
Name | Description | |
---|---|---|
Culture | Gets or sets the culture information for the PromptBuilder object. | |
Id | Gets or sets a value that is the identifier for a PromptBuilder instance. | |
IsEmpty | Gets whether the PromptBuilder is empty. |
Top
Methods
Name | Description | |
---|---|---|
AddPromptDatabase | ||
AppendAudio(String) | Appends the specified audio file to the PromptBuilder. | |
AppendAudio(Uri) | Appends the audio file at the specified URI to the PromptBuilder. | |
AppendAudio(Uri, String) | Appends the specified audio file and alternate text to the PromptBuilder. | |
AppendBookmark | Appends a bookmark to the PromptBuilder object. | |
AppendBreak() | Appends a break to the PromptBuilder object. | |
AppendBreak(TimeSpan) | Appends a break of the specified duration to the PromptBuilder object. | |
AppendBreak(PromptBreak) | Appends a break of the specified strength (duration) to the PromptBuilder object. | |
AppendPromptBuilder | Appends a PromptBuilder object to a PromptBuilder object. | |
AppendSsml | Appends the specified XML file containing SSML to the PromptBuilder object. | |
AppendSsmlMarkup | Appends the specified string containing SSML markup into the PromptBuilder object. | |
AppendText(String) | Specifies text to append to the PromptBuilder object. | |
AppendText(String, PromptEmphasis) | Appends text to the PromptBuilder object and specifies the degree of emphasis for the text. | |
AppendText(String, PromptRate) | Appends text to the PromptBuilder object and specifies the speaking rate for the text. | |
AppendText(String, PromptVolume) | Appends text to the PromptBuilder object and specifies a volume for the text to be spoken. | |
AppendText(String, []) | Appends text to the PromptBuilder object and specifies formatting for the text. | |
AppendTextWithAlias | Appends text to the PromptBuilder object and specifies the alias text to be spoken in place of the appended text. | |
AppendTextWithHint(String, SayAs) | Appends text to the PromptBuilder object and specifies the content type using a member of the SayAs enumeration. | |
AppendTextWithHint(String, String) | Appends text to the PromptBuilder object and a String that specifies the content type of the text. | |
AppendTextWithPronunciation | Appends text to the PromptBuilder object and specifies the pronunciation for the text. | |
ClearContent | Clears the content from the PromptBuilder object. | |
EndParagraph | Specifies the end of a paragraph in the PromptBuilder object. | |
EndSentence | Specifies the end of a sentence in the PromptBuilder object. | |
EndStyle | Specifies the end of a style in the PromptBuilder object. | |
EndVoice | Specifies the end of use of a voice in the PromptBuilder object. | |
Equals | (inherited from Object) | |
Finalize | (inherited from Object) | |
GetHashCode | (inherited from Object) | |
GetType | (inherited from Object) | |
MemberwiseClone | (inherited from Object) | |
RemovePromptDatabase | ||
SetText(String) | Replaces the current content in a PromptBuilder object with a string. | |
SetText(String, []) | Replaces the current content in a PromptBuilder object with a string and specifies formatting for the contents of the string. | |
StartParagraph() | Specifies the start of a paragraph in the PromptBuilder object. | |
StartParagraph(CultureInfo) | Specifies the start of a paragraph in the specified culture in the PromptBuilder object. | |
StartSentence() | Specifies the start of a sentence in the PromptBuilder object. | |
StartSentence(CultureInfo) | Specifies the start of a sentence in the specified culture in the PromptBuilder object. | |
StartStyle | Specifies the start of a style in the PromptBuilder object. | |
StartVoice(CultureInfo) | Instructs the synthesizer to change the voice in the PromptBuilder object and specifies the culture of the voice to use. | |
StartVoice(String) | Instructs the synthesizer to change the voice in the PromptBuilder object and specifies the name of the voice to use. | |
StartVoice(VoiceGender) | Instructs the synthesizer to change the voice in the PromptBuilder object and specifies the gender of the voice to use. | |
StartVoice(VoiceInfo) | Instructs the synthesizer to change the voice in the PromptBuilder object and specifies criteria for the new voice. | |
StartVoice(VoiceGender, VoiceAge) | Instructs the synthesizer to change the voice in the PromptBuilder object and specifies the gender and the age of the voice to use. | |
StartVoice(VoiceGender, VoiceAge, Int32) | Instructs the synthesizer to change the voice in the PromptBuilder object and specifies its gender, age, and a preferred voice that matches the specified gender and age. | |
ToString | (inherited from Object) | |
ToXml | Returns the SSML generated from the PromptBuilder object. |
Top