I'm using Amy instead of the default voice.Īllows the user to change the pitch, speed and volume of a segment of speech.Ĭommon optional parameters are: pitch, rate and volume. For the REST API please use the tts_voice setting. This SSML features is supported in the UAS API only. The supported voices for each TTS are listed above. Parameter name is required, specifying the voice to use. These are none, x-weak, weak, medium, strong and x-strong.Īllows the user to change the voice used. Strength sets the relative value of the pause.
The length of a break may be up to 10 seconds in duration For example and set the break time to be three seconds and three milliseconds respectively. Time sets an absolute value for the pause. Optional arguments are time and strength. It is highly recommended that you test your application before deploying with a different TTS engine. Details of common tags can be found below. Polly and Cepstral both support a subset of SSML. As the length of the text is increased the generation time for the associated audio will also increase and, if is not a repeated phrase (and therefore may be cached) there will be a longer delay before the audio is played. The maximum length of the text to be converted is 1500 characters. Some characters are reserved so, if the text you need to say contains any of these, replace them as shown: Reserved Characterįor example, "Bill & Ben played in the garden" would be become "Bill & Ben played in the garden". Inserting recorded audio files (our APIs' play functions already allow file replay).We support the following Cepstral voices: With reference to that page, please bear in mind the following: For more detailed information, go to Cepstral SSML FAQ and scroll down to the 'Common Usage Examples'. For a summary of the SSML tags which may be used, see Common SSML tags below. For example, to set English US Female Polly Kimberly use the following SSML:Ĭ("I have something to say.") Using a Polly voiceĬepstral's website has a demo which allows you to select a voice and immediately hear how different text will sound - see Cepstral demos.Ĭepstral TTS supports a subset of the Speech Synthesis Markup Language (SSML), which can optionally be embedded within the text you supply to the say function. If you don't provide these tags your account's Default TTS voice will be used. You can also choose the TTS engine to use, via the optional acu-engine tag which, if provided, must be outermost in the string.
In the UAS API, the Say methods support Speech Synthesis Markup Language (SSML) allowing you to change the way your text is spoken, for example, by choosing which voice you'd like to use using the voice tag. "tts_voice" : "English US Female Polly Kimberly" Selecting a voice in the UAS API For example, to set English US Female Polly Kimberly use the following setting for tts_voice: You can choose a different voice by setting tts_voice to a Selector from the voice tables below. This defaults to the voice configured in your service. However, this cannot be used to select the voice used by TTS to say your text. In the REST API Play action, the text_to_say property supports Speech Synthesis Markup Language (SSML) allowing you to change the way your text is spoken. Aculab Cloud supports Polly and Cepstral Text To Speech (TTS) engines.