Skip to content

Commit c47acf0

Browse files
Ling Caoboltomli
authored andcommitted
Updated readme
1 parent 1c17d26 commit c47acf0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

CustomVoice-API-Samples/Java/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The following are the parameters required for the 5 executable commands:
1919
-s,--subscriptionkey <arg> The Speech service subscription key
2020
-n,--name <arg> The name of synthesis task
2121
-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 ';'
2323
-sf,--scriptfile <arg> The input text file path
2424
[Optional]
2525
-d,--description <arg> The description of synthesis task
@@ -67,7 +67,7 @@ The following are the parameters required for the 5 executable commands:
6767

6868
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).
6969
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".
7171
1. Available audio output formats are:
7272
"riff-8khz-16bit-mono-pcm",
7373
"riff-16khz-16bit-mono-pcm",
@@ -79,7 +79,6 @@ Billable character link: https://docs.microsoft.com/en-us/azure/cognitive-servic
7979
"audio-24khz-48kbitrate-mono-mp3",
8080
"audio-24khz-96kbitrate-mono-mp3",
8181
"audio-24khz-160kbitrate-mono-mp3"
82-
1. 'concatenateResult' is an optional parameter, if not given, the output will be multiple wave files per line.
8382
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).
8483
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.
8584
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

Comments
 (0)