Skip to content

Commit eeffea6

Browse files
Merge pull request #218066 from eric-urban/patch-2
correct default
2 parents 7913638 + 0856120 commit eeffea6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/cognitive-services/Speech-Service/long-audio-api.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: speech-service
1010
ms.topic: how-to
11-
ms.date: 09/25/2022
11+
ms.date: 11/11/2022
1212
ms.author: eur
1313
---
1414

@@ -126,7 +126,7 @@ Prepare an input text file, in either plain text or SSML text, then add the foll
126126

127127
> [!NOTE]
128128
> `concatenateResult` is an optional parameter. If this parameter isn't set, the audio outputs will be generated per paragraph. You can also concatenate the audios into one output by including the parameter.
129-
> `outputFormat` is also optional. By default, the audio output is set to `riff-16khz-16bit-mono-pcm`. For more information about supported audio output formats, see [Audio output formats](#audio-output-formats).
129+
> `outputFormat` is also optional. By default, the audio output is set to `riff-24khz-16bit-mono-pcm`. For more information about supported audio output formats, see [Audio output formats](#audio-output-formats).
130130
131131
```python
132132
def submit_synthesis():
@@ -150,7 +150,7 @@ def submit_synthesis():
150150
'description': 'sample description',
151151
'locale': locale,
152152
'voices': json.dumps(voice_identities),
153-
'outputformat': 'riff-16khz-16bit-mono-pcm',
153+
'outputformat': 'riff-24khz-16bit-mono-pcm',
154154
'concatenateresult': True,
155155
}
156156

@@ -228,7 +228,7 @@ response.status_code: 200
228228
}
229229
],
230230
"properties": {
231-
"outputFormat": "riff-16khz-16bit-mono-pcm",
231+
"outputFormat": "riff-24khz-16bit-mono-pcm",
232232
"concatenateResult": false,
233233
"totalDuration": "PT5M57.252S",
234234
"billableCharacterCount": 3048
@@ -339,7 +339,7 @@ response.status_code: 200
339339
}
340340
],
341341
"properties": {
342-
"outputFormat": "riff-16khz-16bit-mono-pcm",
342+
"outputFormat": "riff-24khz-16bit-mono-pcm",
343343
"concatenateResult": false,
344344
"totalDuration": "PT1S",
345345
"billableCharacterCount": 5
@@ -359,7 +359,7 @@ response.status_code: 200
359359
}
360360
],
361361
"properties": {
362-
"outputFormat": "riff-16khz-16bit-mono-pcm",
362+
"outputFormat": "riff-24khz-16bit-mono-pcm",
363363
"concatenateResult": false,
364364
"totalDuration": "PT5M57.252S",
365365
"billableCharacterCount": 3048
@@ -456,7 +456,7 @@ The Long audio API is available in multiple regions with unique endpoints.
456456
We support flexible audio output formats. You can generate audio outputs per paragraph or concatenate the audio outputs into a single output by setting the `concatenateResult` parameter. The following audio output formats are supported by the Long Audio API:
457457

458458
> [!NOTE]
459-
> The default audio format is riff-16khz-16bit-mono-pcm.
459+
> The default audio format is riff-24khz-16bit-mono-pcm.
460460
>
461461
> The sample rate for long audio voices is 24kHz, not 48kHz. Other sample rates can be obtained through upsampling or downsampling when synthesizing.
462462

0 commit comments

Comments
 (0)