From c47acf044459a77e10c8c34f7d87f26482049e16 Mon Sep 17 00:00:00 2001 From: Ling Cao Date: Fri, 15 May 2020 23:13:21 +0800 Subject: [PATCH] Updated readme --- CustomVoice-API-Samples/Java/README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CustomVoice-API-Samples/Java/README.md b/CustomVoice-API-Samples/Java/README.md index 74f3d76f..fcea0177 100644 --- a/CustomVoice-API-Samples/Java/README.md +++ b/CustomVoice-API-Samples/Java/README.md @@ -19,7 +19,7 @@ The following are the parameters required for the 5 executable commands: -s,--subscriptionkey The Speech service subscription key -n,--name The name of synthesis task -l,--locale The locale information like zh-CN/en-US - -m,--modelidlist The id list of the model(voice) which used to synthesis, separated by ';' + -m,--modelidlist The id list of the model (voice) which used to synthesis, separated by ';' -sf,--scriptfile The input text file path [Optional] -d,--description The description of synthesis task @@ -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", @@ -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.