Skip to content

Commit 74dc69b

Browse files
committed
Create an include file for voice priority
1 parent 3ecf9a4 commit 74dc69b

File tree

7 files changed

+15
-49
lines changed

7 files changed

+15
-49
lines changed

articles/ai-services/speech-service/includes/how-to/speech-synthesis/cpp.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,7 @@ The voice that speaks is determined in order of priority as follows:
4040
- If both `SpeechSynthesisVoiceName` and `SpeechSynthesisLanguage` are set, the `SpeechSynthesisLanguage` setting is ignored. The voice that you specify by using `SpeechSynthesisVoiceName` speaks.
4141
- If the voice element is set by using [Speech Synthesis Markup Language (SSML)](../../../speech-synthesis-markup.md), the `SpeechSynthesisVoiceName` and `SpeechSynthesisLanguage` settings are ignored.
4242

43-
In summary, the order of priority can be described as:
44-
45-
| `SpeechSynthesisVoiceName` | `SpeechSynthesisLanguage` | SSML | Outcome |
46-
|:----------------------------:|:----------------------------:|:--------:|---------------------------------------------------------|
47-
|||| Default voice for `en-US` speaks |
48-
|||| Default voice for specified locale speaks. |
49-
|||| The voice that you specify by using `SpeechSynthesisVoiceName` speaks. |
50-
|||| The voice that you specify by using SSML speaks. |
43+
[!INCLUDE [Voice Priority Summary](voice-priority.md)]
5144

5245
## Synthesize speech to a file
5346

articles/ai-services/speech-service/includes/how-to/speech-synthesis/csharp.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,7 @@ The voice that speaks is determined in order of priority as follows:
4141
- If both `SpeechSynthesisVoiceName` and `SpeechSynthesisLanguage` are set, the `SpeechSynthesisLanguage` setting is ignored. The voice that you specify by using `SpeechSynthesisVoiceName` speaks.
4242
- If the voice element is set by using [Speech Synthesis Markup Language (SSML)](../../../speech-synthesis-markup.md), the `SpeechSynthesisVoiceName` and `SpeechSynthesisLanguage` settings are ignored.
4343

44-
In summary, the order of priority can be described as:
45-
46-
| `SpeechSynthesisVoiceName` | `SpeechSynthesisLanguage` | SSML | Outcome |
47-
|:----------------------------:|:----------------------------:|:--------:|---------------------------------------------------------|
48-
|||| Default voice for `en-US` speaks |
49-
|||| Default voice for specified locale speaks. |
50-
|||| The voice that you specify by using `SpeechSynthesisVoiceName` speaks. |
51-
|||| The voice that you specify by using SSML speaks. |
44+
[!INCLUDE [Voice Priority Summary](voice-priority.md)]
5245

5346
## Synthesize speech to a file
5447

articles/ai-services/speech-service/includes/how-to/speech-synthesis/go.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -309,15 +309,8 @@ The voice that speaks is determined in order of priority as follows:
309309
- If you only set `SpeechSynthesisLanguage`, the default voice for the specified locale speaks.
310310
- If both `SpeechSynthesisVoiceName` and `SpeechSynthesisLanguage` are set, the `SpeechSynthesisLanguage` setting is ignored. The voice that you specify by using `SpeechSynthesisVoiceName` speaks.
311311
- If the voice element is set by using [Speech Synthesis Markup Language (SSML)](../../../speech-synthesis-markup.md), the `SpeechSynthesisVoiceName` and `SpeechSynthesisLanguage` settings are ignored.
312-
-
313-
In summary, the order of priority can be described as:
314-
315-
| `SpeechSynthesisVoiceName` | `SpeechSynthesisLanguage` | SSML | Outcome |
316-
|:----------------------------:|:----------------------------:|:--------:|---------------------------------------------------------|
317-
|||| Default voice for `en-US` speaks |
318-
|||| Default voice for specified locale speaks. |
319-
|||| The voice that you specify by using `SpeechSynthesisVoiceName` speaks. |
320-
|||| The voice that you specify by using SSML speaks. |
312+
313+
[!INCLUDE [Voice Priority Summary](voice-priority.md)]
321314

322315
## Use SSML to customize speech characteristics
323316

articles/ai-services/speech-service/includes/how-to/speech-synthesis/java.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,7 @@ The voice that speaks is determined in order of priority as follows:
4141
- If both `SpeechSynthesisVoiceName` and `SpeechSynthesisLanguage` are set, the `SpeechSynthesisLanguage` setting is ignored. The voice that you specified by using `SpeechSynthesisVoiceName` speaks.
4242
- If the voice element is set by using [Speech Synthesis Markup Language (SSML)](../../../speech-synthesis-markup.md), the `SpeechSynthesisVoiceName` and `SpeechSynthesisLanguage` settings are ignored.
4343

44-
In summary, the order of priority can be described as:
45-
46-
| `SpeechSynthesisVoiceName` | `SpeechSynthesisLanguage` | SSML | Outcome |
47-
|:----------------------------:|:----------------------------:|:--------:|---------------------------------------------------------|
48-
|||| Default voice for `en-US` speaks |
49-
|||| Default voice for specified locale speaks. |
50-
|||| The voice that you specify by using `SpeechSynthesisVoiceName` speaks. |
51-
|||| The voice that you specify by using SSML speaks. |
44+
[!INCLUDE [Voice Priority Summary](voice-priority.md)]
5245

5346
## Synthesize speech to a file
5447

articles/ai-services/speech-service/includes/how-to/speech-synthesis/javascript.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,7 @@ The voice that speaks is determined in order of priority as follows:
4242
- If both `SpeechSynthesisVoiceName` and `SpeechSynthesisLanguage` are set, the `SpeechSynthesisLanguage` setting is ignored. The voice that you specify by using `SpeechSynthesisVoiceName` speaks.
4343
- If the voice element is set by using [Speech Synthesis Markup Language (SSML)](../../../speech-synthesis-markup.md), the `SpeechSynthesisVoiceName` and `SpeechSynthesisLanguage` settings are ignored.
4444

45-
In summary, the order of priority can be described as:
46-
47-
| `SpeechSynthesisVoiceName` | `SpeechSynthesisLanguage` | SSML | Outcome |
48-
|:----------------------------:|:----------------------------:|:--------:|---------------------------------------------------------|
49-
|||| Default voice for `en-US` speaks |
50-
|||| Default voice for specified locale speaks. |
51-
|||| The voice that you specify by using `SpeechSynthesisVoiceName` speaks. |
52-
|||| The voice that you specify by using SSML speaks. |
45+
[!INCLUDE [Voice Priority Summary](voice-priority.md)]
5346

5447
## Synthesize text to speech
5548

articles/ai-services/speech-service/includes/how-to/speech-synthesis/python.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,7 @@ The voice that speaks is determined in order of priority as follows:
3636
- If both `SpeechSynthesisVoiceName` and `SpeechSynthesisLanguage` are set, the `SpeechSynthesisLanguage` setting is ignored. The voice that you specify by using `SpeechSynthesisVoiceName` speaks.
3737
- If the voice element is set by using [Speech Synthesis Markup Language (SSML)](../../../speech-synthesis-markup.md), the `SpeechSynthesisVoiceName` and `SpeechSynthesisLanguage` settings are ignored.
3838

39-
In summary, the order of priority can be described as:
40-
41-
| `SpeechSynthesisVoiceName` | `SpeechSynthesisLanguage` | SSML | Outcome |
42-
|:----------------------------:|:----------------------------:|:--------:|---------------------------------------------------------|
43-
|||| Default voice for `en-US` speaks |
44-
|||| Default voice for specified locale speaks. |
45-
|||| The voice that you specify by using `SpeechSynthesisVoiceName` speaks. |
46-
|||| The voice that you specify by using SSML speaks. |
39+
[!INCLUDE [Voice Priority Summary](voice-priority.md)]
4740

4841
## Synthesize speech to a file
4942

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
In summary, the order of priority can be described as:
2+
3+
| `SpeechSynthesisVoiceName` | `SpeechSynthesisLanguage` | SSML | Outcome |
4+
|:----------------------------:|:----------------------------:|:--------:|---------------------------------------------------------|
5+
|||| Default voice for `en-US` speaks |
6+
|||| Default voice for specified locale speaks. |
7+
|||| The voice that you specify by using `SpeechSynthesisVoiceName` speaks. |
8+
|||| The voice that you specify by using SSML speaks. |

0 commit comments

Comments
 (0)