Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Ling Cao authored and boltomli committed May 18, 2020
1 parent 1c17d26 commit c47acf0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CustomVoice-API-Samples/Java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The following are the parameters required for the 5 executable commands:
-s,--subscriptionkey <arg> The Speech service subscription key
-n,--name <arg> The name of synthesis task
-l,--locale <arg> The locale information like zh-CN/en-US
-m,--modelidlist <arg> The id list of the model(voice) which used to synthesis, separated by ';'
-m,--modelidlist <arg> The id list of the model (voice) which used to synthesis, separated by ';'
-sf,--scriptfile <arg> The input text file path
[Optional]
-d,--description <arg> The description of synthesis task
Expand Down Expand Up @@ -67,7 +67,7 @@ The following are the parameters required for the 5 executable commands:

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).
Billable character link: https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/text-to-speech#pricing-note
1. The voiceId could be acquired from the function getVoiceId() in the java file.
1. The id of the model (voice) could be acquired from the command "Get supported Voices".
1. Available audio output formats are:
"riff-8khz-16bit-mono-pcm",
"riff-16khz-16bit-mono-pcm",
Expand All @@ -79,7 +79,6 @@ Billable character link: https://docs.microsoft.com/en-us/azure/cognitive-servic
"audio-24khz-48kbitrate-mono-mp3",
"audio-24khz-96kbitrate-mono-mp3",
"audio-24khz-160kbitrate-mono-mp3"
1. 'concatenateResult' is an optional parameter, if not given, the output will be multiple wave files per line.
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).
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.
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 comments on commit c47acf0

Please sign in to comment.