You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CustomVoice-API-Samples/Java/README.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ The following are the parameters required for the 5 executable commands:
19
19
-s,--subscriptionkey <arg> The Speech service subscription key
20
20
-n,--name <arg> The name of synthesis task
21
21
-l,--locale <arg> The locale information like zh-CN/en-US
22
-
-m,--modelidlist <arg> The id list of the model(voice) which used to synthesis, separated by ';'
22
+
-m,--modelidlist <arg> The id list of the model(voice) which used to synthesis, separated by ';'
23
23
-sf,--scriptfile <arg> The input text file path
24
24
[Optional]
25
25
-d,--description <arg> The description of synthesis task
@@ -67,7 +67,7 @@ The following are the parameters required for the 5 executable commands:
67
67
68
68
1. The input text file should be Unicode format with 'UTF-8-BOM' (you can check the text format with Notepad++), like the one en-US.txt, and shoule not contains lines more than 10000. Should contain at least 400 billable characters (1 en-US character stands for 1 billable characters and 1 zh-CN character stands for 2 billable characters). If billable characters number < 10000, please expect that the request probably be queued and will be done within 12 hours.If billable characters number > 10000, the request will be executed once where are available resource(not be queued).
69
69
Billable character link: https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/text-to-speech#pricing-note
70
-
1. The voiceId could be acquired from the function getVoiceId() in the java file.
70
+
1. The id of the model (voice) could be acquired from the command "Get supported Voices".
71
71
1. Available audio output formats are:
72
72
"riff-8khz-16bit-mono-pcm",
73
73
"riff-16khz-16bit-mono-pcm",
@@ -79,7 +79,6 @@ Billable character link: https://docs.microsoft.com/en-us/azure/cognitive-servic
79
79
"audio-24khz-48kbitrate-mono-mp3",
80
80
"audio-24khz-96kbitrate-mono-mp3",
81
81
"audio-24khz-160kbitrate-mono-mp3"
82
-
1. 'concatenateResult' is an optional parameter, if not given, the output will be multiple wave files per line.
83
82
1. Client for each subscription account is allowed to submit at most 5 requests to server per second, if hit the bar, client will get a 429 error code(too many requests).
84
83
1. Server keep at most 120 requests in queue or running for each subscription accout, if hit the bar, should wait until some requests get completed before submit new ones.
85
84
1. Server keep at most 20000 requests for each subscription account. If hit the bar, should delete some requests previously submitted before submit new ones.
0 commit comments