Skip to content

Commit 15901c5

Browse files
authored
Merge pull request #92890 from Saccarab/patch-1
cannot import format from undefined
2 parents 2573cf7 + 9fb08bc commit 15901c5

File tree

1 file changed

+1
-1
lines changed
  • articles/cognitive-services/Speech-Service/includes/how-to/speech-synthesis

1 file changed

+1
-1
lines changed

articles/cognitive-services/Speech-Service/includes/how-to/speech-synthesis/javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ function synthesizeSpeech() {
260260
const speechConfig = SpeechConfig.fromSubscription("<paste-your-speech-key-here>", "<paste-your-speech-location/region-here>");
261261

262262
// Set the output format
263-
speechConfig.speechSynthesisOutputFormat = SpeechSynthesisOutputFormat.Riff24Khz16BitMonoPcm;
263+
speechConfig.speechSynthesisOutputFormat = sdk.SpeechSynthesisOutputFormat.Riff24Khz16BitMonoPcm;
264264

265265
const synthesizer = new sdk.SpeechSynthesizer(speechConfig, null);
266266
synthesizer.speakTextAsync(

0 commit comments

Comments
 (0)