We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2573cf7 + 9fb08bc commit 15901c5Copy full SHA for 15901c5
articles/cognitive-services/Speech-Service/includes/how-to/speech-synthesis/javascript.md
@@ -260,7 +260,7 @@ function synthesizeSpeech() {
260
const speechConfig = SpeechConfig.fromSubscription("<paste-your-speech-key-here>", "<paste-your-speech-location/region-here>");
261
262
// Set the output format
263
- speechConfig.speechSynthesisOutputFormat = SpeechSynthesisOutputFormat.Riff24Khz16BitMonoPcm;
+ speechConfig.speechSynthesisOutputFormat = sdk.SpeechSynthesisOutputFormat.Riff24Khz16BitMonoPcm;
264
265
const synthesizer = new sdk.SpeechSynthesizer(speechConfig, null);
266
synthesizer.speakTextAsync(
0 commit comments