Skip to content

Commit 1caf6a7

Browse files
authored
Merge pull request #51077 from boltomli/patch-5
The sample voice name should be `Guy24kRUS`
2 parents ba3cd9f + 6b0355a commit 1caf6a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/cognitive-services/Speech-Service/quickstart-python-text-to-speech.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Next, you need to add required headers for the request. Make sure that you updat
9494
Then construct the request body using Speech Synthesis Markup Language (SSML). This sample defines the structure, and uses the `tts` input you created earlier.
9595

9696
>[!NOTE]
97-
> This sample uses the `Guy24KRUS` voice font. For a complete list of Microsoft provided voices/languages, see [Language support](language-support.md).
97+
> This sample uses the `Guy24kRUS` voice font. For a complete list of Microsoft provided voices/languages, see [Language support](language-support.md).
9898
> If you're interested in creating a unique, recognizable voice for your brand, see [Creating custom voice fonts](how-to-customize-voice-font.md).
9999
100100
Finally, you'll make a request to the service. If the request is successful, and a 200 status code is returned, the speech response is written to a timestamped file.
@@ -117,7 +117,7 @@ def save_audio(self):
117117
voice = ElementTree.SubElement(xml_body, 'voice')
118118
voice.set('{http://www.w3.org/XML/1998/namespace}lang', 'en-US')
119119
voice.set(
120-
'name', 'Microsoft Server Speech Text to Speech Voice (en-US, Guy24KRUS)')
120+
'name', 'Microsoft Server Speech Text to Speech Voice (en-US, Guy24kRUS)')
121121
voice.text = self.tts
122122
body = ElementTree.tostring(xml_body)
123123

0 commit comments

Comments
 (0)