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.
1 parent 7e250a0 commit 9fb08bcCopy full SHA for 9fb08bc
articles/cognitive-services/Speech-Service/includes/how-to/speech-synthesis/javascript.md
@@ -299,7 +299,7 @@ function synthesizeSpeech() {
299
const speechConfig = SpeechConfig.fromSubscription("<paste-your-speech-key-here>", "<paste-your-speech-location/region-here>");
300
301
// Set the output format
302
- speechConfig.speechSynthesisOutputFormat = SpeechSynthesisOutputFormat.Riff24Khz16BitMonoPcm;
+ speechConfig.speechSynthesisOutputFormat = sdk.SpeechSynthesisOutputFormat.Riff24Khz16BitMonoPcm;
303
304
const synthesizer = new sdk.SpeechSynthesizer(speechConfig, null);
305
synthesizer.speakTextAsync(
0 commit comments